Refresh last message when paginating backwards

This commit is contained in:
Nicolas Werner 2022-06-25 14:05:52 +02:00
parent dc4fbd167e
commit 6e97f3da06
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 4 additions and 1 deletions

View File

@ -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,