Merge branch 'soru/empty-room' into 'main'

fix: Empty timelines crashing the room view

See merge request famedly/fluffychat!488
This commit is contained in:
Krille Fear 2021-08-16 06:18:53 +00:00
commit ff45b17227
1 changed files with 6 additions and 3 deletions

View File

@ -304,6 +304,9 @@ class ChatView extends StatelessWidget {
: Duration(
milliseconds: 300),
alignment: controller
.filteredEvents
.isNotEmpty &&
controller
.filteredEvents
.first
.senderId ==