From a675631965e3cf928412130b05887ce199da09da Mon Sep 17 00:00:00 2001 From: AsamK Date: Sun, 15 Oct 2023 18:53:24 +0200 Subject: [PATCH] Resolve self address after setting new PNI --- .../java/org/asamk/signal/manager/storage/SignalAccount.java | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/main/java/org/asamk/signal/manager/storage/SignalAccount.java b/lib/src/main/java/org/asamk/signal/manager/storage/SignalAccount.java index 6b63920e..2cfd5cd7 100644 --- a/lib/src/main/java/org/asamk/signal/manager/storage/SignalAccount.java +++ b/lib/src/main/java/org/asamk/signal/manager/storage/SignalAccount.java @@ -1386,6 +1386,7 @@ public class SignalAccount implements Closeable { } this.pniAccountData.setServiceId(updatedPni); + getRecipientTrustedResolver().resolveSelfRecipientTrusted(getSelfRecipientAddress()); trustSelfIdentity(ServiceIdType.PNI); save(); }