Fix loading spinner when switching to a fully loaded room

fixes #754
This commit is contained in:
Nicolas Werner 2021-11-02 00:28:39 +01:00
parent 8beeba8e48
commit 12832b3c64
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -819,8 +819,10 @@ EventStore::decryptionError(std::string id)
void
EventStore::fetchMore()
{
if (noMoreMessages)
if (noMoreMessages) {
emit fetchedMore();
return;
}
mtx::http::MessagesOpts opts;
opts.room_id = room_id_;