fix: missing null check

This commit is contained in:
Sorunome 2021-08-05 18:16:52 +02:00
commit f73aeca78c

View file

@ -74,7 +74,7 @@ class SearchController extends State<Search> {
future: () => _joinRoomAndWait( future: () => _joinRoomAndWait(
context, context,
room.roomId, room.roomId,
room.canonicalAlias ?? room.aliases.first, room.canonicalAlias ?? room.aliases?.first,
), ),
); );
if (success.error == null) { if (success.error == null) {