Merge branch 'td/rejectCall' into 'main'
fix: reject call on own device if you get a call reject See merge request famedly/company/frontend/famedlysdk!1231
This commit is contained in:
commit
fcafa8ae72
|
|
@ -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