Skip to content

Commit 1bb342e

Browse files
committed
Room joining: if join_rule is absent, assume public
1 parent 72e7e0f commit 1bb342e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/room/useLoadGroupCall.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export const useLoadGroupCall = (
280280
);
281281
}
282282
if (
283-
roomSummary === undefined ||
283+
roomSummary?.join_rule === undefined ||
284284
roomSummary.join_rule === JoinRule.Public
285285
) {
286286
room = await client.joinRoom(roomId, {

0 commit comments

Comments
 (0)