mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +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,7 +928,6 @@ EventStore::fetchMore()
|
||||||
if (cache::client()->previousBatchToken(room_id_) != opts.from) {
|
if (cache::client()->previousBatchToken(room_id_) != opts.from) {
|
||||||
nhlog::net()->warn("Cache cleared while fetching more messages, dropping "
|
nhlog::net()->warn("Cache cleared while fetching more messages, dropping "
|
||||||
"/messages response");
|
"/messages response");
|
||||||
if (!opts.to.empty())
|
|
||||||
emit fetchedMore();
|
emit fetchedMore();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue