summary refs log tree commit diff
path: root/src/timeline/EventStore.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-02 00:28:39 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-02 00:28:39 +0100
commit12832b3c6439057c03c68aed8558022031da5bed (patch)
tree1289b833d5e9050c39f453cffd83f6d197d6e1fb /src/timeline/EventStore.cpp
parentFix hidden spaces hiding themselves (diff)
downloadnheko-12832b3c6439057c03c68aed8558022031da5bed.tar.xz
Fix loading spinner when switching to a fully loaded room
fixes #754
Diffstat (limited to 'src/timeline/EventStore.cpp')
-rw-r--r--src/timeline/EventStore.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/timeline/EventStore.cpp b/src/timeline/EventStore.cpp

index d7296a7c..a1f4c67f 100644 --- a/src/timeline/EventStore.cpp +++ b/src/timeline/EventStore.cpp
@@ -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_;