From 2ce6ac6b95b2740bd260aecebe0eb21d9f408fc3 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 4 Jul 2020 12:17:31 +0200 Subject: [PATCH] Dont request history on chat open --- lib/views/chat.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/views/chat.dart b/lib/views/chat.dart index 70c6c533..e364bc88 100644 --- a/lib/views/chat.dart +++ b/lib/views/chat.dart @@ -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;