~singpolyma/cheogram-android

7476dccc0e7ceaf54e35bc3c4ce4dfaea7666062 — Daniel Gultsch 2 years ago 9182a30
do not fetch keys before making call
1 files changed, 0 insertions(+), 6 deletions(-)

M src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
M src/main/java/eu/siacs/conversations/ui/ConversationFragment.java => src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +0 -6
@@ 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);
        }
    }