fix: Remove old workaround

This commit is contained in:
Christian Pauly 2021-08-04 10:08:21 +02:00
parent 2297195ba7
commit fcc66d2820
1 changed files with 0 additions and 1 deletions

View File

@ -264,7 +264,6 @@ class _ChatListViewBody extends StatelessWidget {
final rooms = List<Room>.from(Matrix.of(context).client.rooms)
.where(controller.roomCheck)
.toList();
rooms.removeWhere((room) => room.lastEvent == null);
if (rooms.isEmpty) {
return Column(
mainAxisAlignment: MainAxisAlignment.center,