aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-17 21:21:35 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-17 21:21:35 +0200
commit82ca6e81ad5801d4ed2f9445ea15bde4d1344539 (patch)
tree534d16956fcef800da2faa3ae6ea66e5cc8eb09b /lib
parenteee0b71ebe044a25b8bbe896cb63746599ac0d78 (diff)
downloadlibquotient-82ca6e81ad5801d4ed2f9445ea15bde4d1344539.tar.gz
libquotient-82ca6e81ad5801d4ed2f9445ea15bde4d1344539.zip
Fix building with GCC
Diffstat (limited to 'lib')
-rw-r--r--lib/room.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 1c1aa814..95dd0ab7 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -772,7 +772,7 @@ Omittable<QString> Room::Private::setLastReadReceipt(const QString& userId,
// TODO: remove in 0.8
if (const auto member = q->user(userId); !isLocalUser(member))
QT_IGNORE_DEPRECATIONS(emit q->readMarkerForUserMoved(
- member, prevEventId, storedReceipt.eventId));
+ member, prevEventId, storedReceipt.eventId);)
return prevEventId;
}
@@ -921,7 +921,7 @@ Room::Changes Room::Private::setFullyReadMarker(const QString& eventId)
emit q->fullyReadMarkerMoved(prevFullyReadId, fullyReadUntilEventId);
// TODO: Remove in 0.8
QT_IGNORE_DEPRECATIONS(
- emit q->readMarkerMoved(prevFullyReadId, fullyReadUntilEventId));
+ emit q->readMarkerMoved(prevFullyReadId, fullyReadUntilEventId);)
return changes;
}
@@ -1973,7 +1973,7 @@ void Room::Private::postprocessChanges(Changes changes, bool saveState)
if (changes & Change::PartiallyReadStats) {
QT_IGNORE_DEPRECATIONS(
- emit q->unreadMessagesChanged(q)); // TODO: remove in 0.8
+ emit q->unreadMessagesChanged(q);) // TODO: remove in 0.8
emit q->partiallyReadStatsChanged();
}