mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 09:35:12 +00:00
fix: Crash on timeline
This commit is contained in:
parent
6a7ab36a58
commit
546998b1e4
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ extension RoomStatusExtension on Room {
|
|||
var seenByText = '';
|
||||
if (timeline.events.isNotEmpty) {
|
||||
final filteredEvents = timeline.getFilteredEvents(unfolded: unfolded);
|
||||
if (filteredEvents.isEmpty) return '';
|
||||
final lastReceipts = <User>{};
|
||||
// now we iterate the timeline events until we hit the first rendered event
|
||||
for (final event in timeline.events) {
|
||||
|
|
Loading…
Reference in a new issue