diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-04-04 19:40:37 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-04-04 19:40:37 +0200 |
commit | e21100cf174468eb6087b3991f7a2c77b68880a5 (patch) | |
tree | 6b6ffa81c96aec1f22418fc1fe39b322d1618a87 /src | |
parent | Make the profile buttons a bit bigger (diff) | |
download | nheko-e21100cf174468eb6087b3991f7a2c77b68880a5.tar.xz |
Get rid of an edge case, that can break pagination
Diffstat (limited to 'src')
-rw-r--r-- | src/timeline/EventStore.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/timeline/EventStore.cpp b/src/timeline/EventStore.cpp index dd0e920d..5aa105b0 100644 --- a/src/timeline/EventStore.cpp +++ b/src/timeline/EventStore.cpp @@ -928,8 +928,7 @@ EventStore::fetchMore() if (cache::client()->previousBatchToken(room_id_) != opts.from) { nhlog::net()->warn("Cache cleared while fetching more messages, dropping " "/messages response"); - if (!opts.to.empty()) - emit fetchedMore(); + emit fetchedMore(); return; } if (err) { |