fix: reject call on own device if you get a call reject
This commit is contained in:
parent
47a8e32c57
commit
448b61191a
|
|
@ -344,10 +344,6 @@ class VoIP {
|
||||||
|
|
||||||
Future<void> onCallReject(
|
Future<void> onCallReject(
|
||||||
String roomId, String senderId, Map<String, dynamic> content) async {
|
String roomId, String senderId, Map<String, dynamic> content) async {
|
||||||
if (senderId == client.userID) {
|
|
||||||
// Ignore messages to yourself.
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
final String callId = content['call_id'];
|
final String callId = content['call_id'];
|
||||||
Logs().d('Reject received for call ID $callId');
|
Logs().d('Reject received for call ID $callId');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue