aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-22 21:37:42 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-22 21:37:42 +0200
commit744592ee490858c464bba216cf19161aaf30d786 (patch)
tree5ac8ddb80fa8c27d0a8ff9e1e6ae4a41f03c4853 /lib/room.cpp
parent812e460f2159556ad00ab838d58b349fa3542047 (diff)
downloadlibquotient-744592ee490858c464bba216cf19161aaf30d786.tar.gz
libquotient-744592ee490858c464bba216cf19161aaf30d786.zip
Cleanup and some extra comments
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index 1e3eb603..0a4e041b 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -2311,7 +2311,7 @@ Room::Changes Room::Private::addNewMessageEvents(RoomEvents&& events)
}
}
- qCDebug(STATE) << "Room" << q->objectName() << "received"
+ qCDebug(MESSAGES) << "Room" << q->objectName() << "received"
<< totalInserted << "new events; the last event is now"
<< timeline.back();
@@ -2326,7 +2326,7 @@ Room::Changes Room::Private::addNewMessageEvents(RoomEvents&& events)
if (q->readMarker(firstWriter) != timeline.crend()) {
roomChanges |=
promoteReadMarker(firstWriter, rev_iter_t(from) - 1);
- qCDebug(STATE)
+ qCDebug(MESSAGES)
<< "Auto-promoted read marker for" << senderId
<< "to" << *q->readMarker(firstWriter);
}