diff --git a/lib/views/chat.dart b/lib/views/chat.dart index d0a76358b..83b81e729 100644 --- a/lib/views/chat.dart +++ b/lib/views/chat.dart @@ -81,9 +81,11 @@ class _ChatState extends State<_Chat> { final int _loadHistoryCount = 100; void requestHistory() async { - setState(() => this._loadingHistory = true); - await timeline.requestHistory(historyCount: _loadHistoryCount); - setState(() => this._loadingHistory = false); + if (timeline.events.last.type != EventTypes.RoomCreate) { + setState(() => this._loadingHistory = true); + await timeline.requestHistory(historyCount: _loadHistoryCount); + setState(() => this._loadingHistory = false); + } } @override