aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/room.cpp b/room.cpp
index d27bd5a3..ab7f7a8f 100644
--- a/room.cpp
+++ b/room.cpp
@@ -1141,8 +1141,8 @@ void Room::Private::addNewMessageEvents(RoomEvents&& events)
processRedaction(move(r));
if (insertedSize > 0)
{
- checkUnreadMessages(timeline.cend() - insertedSize);
emit q->addedMessages();
+ checkUnreadMessages(timeline.cend() - insertedSize);
}
Q_ASSERT(timeline.size() == timelineSize + insertedSize);