From 0ff643f6528d6f0529882c498953f8f7511f694f Mon Sep 17 00:00:00 2001 From: td Date: Tue, 30 Apr 2024 17:12:25 +0530 Subject: [PATCH] fix: allow mesh group call invite --- lib/src/voip/voip.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/voip/voip.dart b/lib/src/voip/voip.dart index 2d18b8b1..2df35369 100644 --- a/lib/src/voip/voip.dart +++ b/lib/src/voip/voip.dart @@ -223,7 +223,9 @@ class VoIP { } if (callId != null) { final call = calls[VoipId(roomId: room.id, callId: callId)]; - if (call == null && event.type != EventTypes.CallInvite) { + if (call == null && + !{EventTypes.CallInvite, EventTypes.GroupCallMemberInvite} + .contains(event.type)) { Logs().w( 'Ignoring call event ${event.type} because we do not have the call'); return;