diff --git a/lib/src/voip/voip.dart b/lib/src/voip/voip.dart index 6d381a7a..7c3f6aa2 100644 --- a/lib/src/voip/voip.dart +++ b/lib/src/voip/voip.dart @@ -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,