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

Dont request history on chat open

See merge request ChristianPauly/fluffychat-flutter!101
onboarding
Christian Pauly 5 years ago
commit a807e25b94

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

Loading…
Cancel
Save