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:44:17 +0200
commitc75ef102c4b24c89f28a4773d7758adcbf4b6846 (patch)
tree293e21f7dc870ec2476568dafb04534de681974a /lib/room.cpp
parent8fa7dae82ac8e49b2a965377a663aedd08a5230b (diff)
downloadlibquotient-c75ef102c4b24c89f28a4773d7758adcbf4b6846.tar.gz
libquotient-c75ef102c4b24c89f28a4773d7758adcbf4b6846.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 ac9db318..7f76d8df 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);
}