From a1014ba39c7ad8a90e4257df4bb919ef2114f9f1 Mon Sep 17 00:00:00 2001 From: AsamK Date: Sun, 2 May 2021 12:09:12 +0200 Subject: [PATCH] Correctly store uuid from server --- lib/src/main/java/org/asamk/signal/manager/Manager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/main/java/org/asamk/signal/manager/Manager.java b/lib/src/main/java/org/asamk/signal/manager/Manager.java index 7be2c2d3..d55362de 100644 --- a/lib/src/main/java/org/asamk/signal/manager/Manager.java +++ b/lib/src/main/java/org/asamk/signal/manager/Manager.java @@ -1293,8 +1293,9 @@ public class Manager implements Closeable { for (var address : addressesMissingUuid) { final var number = address.getNumber().get(); if (registeredUsers.containsKey(number)) { - final var newAddress = resolveSignalServiceAddress(new SignalServiceAddress(registeredUsers.get(number), - number)); + final var newAddress = resolveSignalServiceAddress(resolveRecipientTrusted(new SignalServiceAddress( + registeredUsers.get(number), + number))); signalServiceAddresses.add(newAddress); } else { signalServiceAddresses.add(address);