fix: missing null check
This commit is contained in:
parent
8ab5d18a12
commit
92674b4424
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue