Dont request history on chat open

This commit is contained in:
Christian Pauly 2020-07-04 12:17:31 +02:00
parent c1c6659ce0
commit 2ce6ac6b95
1 changed files with 0 additions and 3 deletions

View File

@ -157,9 +157,6 @@ class _ChatState extends State<_Chat> {
if (timeline.events.isNotEmpty) {
unawaited(room.sendReadReceipt(timeline.events.first.eventId));
}
if (timeline.events.length < _loadHistoryCount) {
requestHistory();
}
}
updateView();
return true;