Merge branch 'krille/fix-request-limited-timeline' into 'main'

fix: Request history on limited timeline

See merge request famedly/famedlysdk!642
This commit is contained in:
Sorunome 2021-02-09 16:49:28 +00:00
commit 5200764604
2 changed files with 1 additions and 1916 deletions

View File

@ -1347,7 +1347,7 @@ class Client extends MatrixApi {
}
}
if (rooms[j].onUpdate != null) rooms[j].onUpdate.add(rooms[j].id);
if (chatUpdate.limitedTimeline) {
if (chatUpdate.limitedTimeline && requestHistoryOnLimitedTimeline) {
Logs().v('Limited timeline for ${rooms[j].id} request history now');
runInRoot(rooms[j].requestHistory);
}

File diff suppressed because it is too large Load Diff