Refresh last message when paginating backwards

pull/1107/head
Nicolas Werner 2 years ago
parent dc4fbd167e
commit 6e97f3da06
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 5
      src/timeline/TimelineModel.cpp

@ -415,7 +415,10 @@ TimelineModel::TimelineModel(TimelineViewManager *manager, QString room_id, QObj
connect(&events, &EventStore::beginResetModel, this, [this]() { beginResetModel(); });
connect(&events, &EventStore::endResetModel, this, [this]() { endResetModel(); });
connect(&events, &EventStore::newEncryptedImage, this, &TimelineModel::newEncryptedImage);
connect(&events, &EventStore::fetchedMore, this, [this]() { setPaginationInProgress(false); });
connect(&events, &EventStore::fetchedMore, this, [this]() {
setPaginationInProgress(false);
updateLastMessage();
});
connect(&events,
&EventStore::startDMVerification,
this,

Loading…
Cancel
Save