fix: allow famedly calls for everyone before choosing an existing one
This commit is contained in:
parent
d4566d7512
commit
d10befcac5
|
|
@ -764,6 +764,10 @@ class VoIP {
|
|||
String? application,
|
||||
String? scope,
|
||||
) async {
|
||||
if (!room.groupCallsEnabledForEveryone) {
|
||||
await room.enableGroupCalls();
|
||||
}
|
||||
|
||||
final groupCall = getGroupCallById(room.id, groupCallId);
|
||||
|
||||
if (groupCall != null) {
|
||||
|
|
@ -774,10 +778,6 @@ class VoIP {
|
|||
return groupCall;
|
||||
}
|
||||
|
||||
if (!room.groupCallsEnabledForEveryone) {
|
||||
await room.enableGroupCalls();
|
||||
}
|
||||
|
||||
// The call doesn't exist, but we can create it
|
||||
return await _newGroupCall(
|
||||
groupCallId,
|
||||
|
|
|
|||
Loading…
Reference in New Issue