mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Get rid of an edge case, that can break pagination
This commit is contained in:
parent
c1c02b4aae
commit
e21100cf17
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue