Refresh last message when paginating backwards
This commit is contained in:
parent
dc4fbd167e
commit
6e97f3da06
@ -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 New Issue
Block a user