From 7476dccc0e7ceaf54e35bc3c4ce4dfaea7666062 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 8 May 2021 11:21:33 +0200 Subject: [PATCH] do not fetch keys before making call --- .../eu/siacs/conversations/ui/ConversationFragment.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java index 37d7024e0..27858484e 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java @@ -1355,9 +1355,6 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke return; } if (hasPermissions(REQUEST_START_AUDIO_CALL, Manifest.permission.RECORD_AUDIO)) { - if (Config.REQUIRE_RTP_VERIFICATION && trustKeysIfNeeded(conversation, REQUEST_START_AUDIO_CALL)) { - return; - } triggerRtpSession(RtpSessionActivity.ACTION_MAKE_VOICE_CALL); } } @@ -1368,9 +1365,6 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke return; } if (hasPermissions(REQUEST_START_VIDEO_CALL, Manifest.permission.RECORD_AUDIO, Manifest.permission.CAMERA)) { - if (Config.REQUIRE_RTP_VERIFICATION && trustKeysIfNeeded(conversation, REQUEST_START_VIDEO_CALL)) { - return; - } triggerRtpSession(RtpSessionActivity.ACTION_MAKE_VIDEO_CALL); } }