mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 00:29:11 +01:00
Fix crash when receiving call with no corresponding identity key.
This commit is contained in:
@@ -533,7 +533,7 @@ public abstract class WebRtcActionProcessor {
|
||||
|
||||
if (errorCallState == WebRtcViewModel.State.UNTRUSTED_IDENTITY) {
|
||||
CallParticipant participant = Objects.requireNonNull(currentState.getCallInfoState().getRemoteCallParticipant(activePeer.getRecipient()));
|
||||
CallParticipant untrusted = participant.withIdentityKey(identityKey.get());
|
||||
CallParticipant untrusted = participant.withIdentityKey(identityKey.orNull());
|
||||
|
||||
builder.changeCallInfoState()
|
||||
.callState(WebRtcViewModel.State.UNTRUSTED_IDENTITY)
|
||||
|
||||
Reference in New Issue
Block a user