mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Fix premature call termination during safety number change.
This commit is contained in:
committed by
Greyson Parrelli
parent
df3399bde5
commit
a51754e207
@@ -564,8 +564,7 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan
|
|||||||
final Recipient recipient = event.getRemoteParticipants().get(0).getRecipient();
|
final Recipient recipient = event.getRemoteParticipants().get(0).getRecipient();
|
||||||
|
|
||||||
if (theirKey == null) {
|
if (theirKey == null) {
|
||||||
Log.w(TAG, "Untrusted identity without an identity key, terminating call.");
|
Log.w(TAG, "Untrusted identity without an identity key.");
|
||||||
handleTerminate(recipient, HangupMessage.Type.NORMAL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SafetyNumberBottomSheet.forCall(recipient.getId()).show(getSupportFragmentManager());
|
SafetyNumberBottomSheet.forCall(recipient.getId()).show(getSupportFragmentManager());
|
||||||
|
|||||||
Reference in New Issue
Block a user