mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 14:48:26 +00:00
parent
8cd50d1e82
commit
65c05e0388
@ -776,7 +776,9 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||||||
private void handleDial(final Recipient recipient) {
|
private void handleDial(final Recipient recipient) {
|
||||||
if (recipient == null) return;
|
if (recipient == null) return;
|
||||||
|
|
||||||
if (isSecureVideo && TextSecurePreferences.isWebrtcCallingEnabled(this)) {
|
if ((isSecureVideo && TextSecurePreferences.isWebrtcCallingEnabled(this)) ||
|
||||||
|
(isSecureText && TextSecurePreferences.isGcmDisabled(this)))
|
||||||
|
{
|
||||||
Intent intent = new Intent(this, WebRtcCallService.class);
|
Intent intent = new Intent(this, WebRtcCallService.class);
|
||||||
intent.setAction(WebRtcCallService.ACTION_OUTGOING_CALL);
|
intent.setAction(WebRtcCallService.ACTION_OUTGOING_CALL);
|
||||||
intent.putExtra(WebRtcCallService.EXTRA_REMOTE_NUMBER, recipient.getNumber());
|
intent.putExtra(WebRtcCallService.EXTRA_REMOTE_NUMBER, recipient.getNumber());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user