Merge branch 'krille/dont-request-history' into 'master'

Dont request history on chat open

See merge request ChristianPauly/fluffychat-flutter!101
This commit is contained in:
Christian Pauly 2020-07-04 10:27:21 +00:00
commit da3bd7ef6d

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;