Fix premature call termination during safety number change.

This commit is contained in:
Cody Henthorne 2022-07-29 11:23:59 -04:00 committed by Greyson Parrelli
parent df3399bde5
commit a51754e207

View file

@ -564,8 +564,7 @@ public class WebRtcCallActivity extends BaseActivity implements SafetyNumberChan
final Recipient recipient = event.getRemoteParticipants().get(0).getRecipient();
if (theirKey == null) {
Log.w(TAG, "Untrusted identity without an identity key, terminating call.");
handleTerminate(recipient, HangupMessage.Type.NORMAL);
Log.w(TAG, "Untrusted identity without an identity key.");
}
SafetyNumberBottomSheet.forCall(recipient.getId()).show(getSupportFragmentManager());