Merge pull request #1782 from famedly/td/meshCallInviteFix

fix: allow mesh group call invite
This commit is contained in:
td 2024-04-30 17:31:49 +05:30 committed by GitHub
commit 5cf1e65838
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;