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:
Nicolas Werner 2023-01-31 10:20:48 +00:00
commit fcafa8ae72
1 changed files with 0 additions and 4 deletions

View File

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