From 448b61191a062902fbdd7e713c22f533b6a1ec1b Mon Sep 17 00:00:00 2001 From: td Date: Mon, 30 Jan 2023 23:14:04 +0530 Subject: [PATCH] fix: reject call on own device if you get a call reject --- lib/src/voip/voip.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/src/voip/voip.dart b/lib/src/voip/voip.dart index 707264cf..6eefbe3c 100644 --- a/lib/src/voip/voip.dart +++ b/lib/src/voip/voip.dart @@ -344,10 +344,6 @@ class VoIP { Future onCallReject( String roomId, String senderId, Map content) async { - if (senderId == client.userID) { - // Ignore messages to yourself. - return; - } final String callId = content['call_id']; Logs().d('Reject received for call ID $callId');