From 8726c4ede0cee0e44d43631b5676e87eb6cb0175 Mon Sep 17 00:00:00 2001 From: Adimarantis Date: Sat, 17 Jun 2023 09:21:28 +0200 Subject: [PATCH] Update identities after trust (#1264) --- src/main/java/org/asamk/signal/dbus/DbusSignalImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/asamk/signal/dbus/DbusSignalImpl.java b/src/main/java/org/asamk/signal/dbus/DbusSignalImpl.java index fef6821a75..a2fd25e0c6 100644 --- a/src/main/java/org/asamk/signal/dbus/DbusSignalImpl.java +++ b/src/main/java/org/asamk/signal/dbus/DbusSignalImpl.java @@ -1109,6 +1109,7 @@ public void trust() throws Error.Failure { } catch (UnregisteredRecipientException e) { throw new Error.Failure("The user " + e.getSender().getIdentifier() + " is not registered."); } + updateIdentities(); } @Override @@ -1135,6 +1136,7 @@ public void trustVerified(String safetyNumber) throws Error.Failure { } catch (UnregisteredRecipientException e) { throw new Error.Failure("The user " + e.getSender().getIdentifier() + " is not registered."); } + updateIdentities(); } }