mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 20:18:53 +03:00
Refresh last message when paginating backwards
This commit is contained in:
parent
dc4fbd167e
commit
6e97f3da06
1 changed files with 4 additions and 1 deletions
|
@ -415,7 +415,10 @@ TimelineModel::TimelineModel(TimelineViewManager *manager, QString room_id, QObj
|
||||||
connect(&events, &EventStore::beginResetModel, this, [this]() { beginResetModel(); });
|
connect(&events, &EventStore::beginResetModel, this, [this]() { beginResetModel(); });
|
||||||
connect(&events, &EventStore::endResetModel, this, [this]() { endResetModel(); });
|
connect(&events, &EventStore::endResetModel, this, [this]() { endResetModel(); });
|
||||||
connect(&events, &EventStore::newEncryptedImage, this, &TimelineModel::newEncryptedImage);
|
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,
|
connect(&events,
|
||||||
&EventStore::startDMVerification,
|
&EventStore::startDMVerification,
|
||||||
this,
|
this,
|
||||||
|
|
Loading…
Reference in a new issue