fix: allow mesh group call invite

This commit is contained in:
td 2024-04-30 17:12:25 +05:30
parent e6631f4718
commit 0ff643f652
No known key found for this signature in database
GPG Key ID: 62A30523D4D6CE28
1 changed files with 3 additions and 1 deletions

View File

@ -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;