fix: missing null check

This commit is contained in:
Sorunome 2021-08-05 18:16:52 +02:00
parent 8ab5d18a12
commit 92674b4424
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

View File

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