mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 13:09:24 +01:00
Dont request history on chat open
This commit is contained in:
parent
c1c6659ce0
commit
2ce6ac6b95
@ -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…
Reference in New Issue
Block a user