1 files changed, 4 insertions, 0 deletions
diff --git a/src/timeline/TimelineView.cc b/src/timeline/TimelineView.cc
index a00f4df5..d18c1cff 100644
--- a/src/timeline/TimelineView.cc
+++ b/src/timeline/TimelineView.cc
@@ -770,6 +770,10 @@ TimelineView::removeEvent(const QString &event_id)
// Finally remove the event.
removedItem->deleteLater();
eventIds_.remove(event_id);
+
+ // Update the room list with a view of the last message after
+ // all events have been processed.
+ QTimer::singleShot(0, this, [this]() { notifyForLastEvent(); });
}
QWidget *
|