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