Correctly store uuid from server

This commit is contained in:
AsamK 2021-05-02 12:09:12 +02:00
parent 624fa4fda4
commit a1014ba39c

View file

@ -1293,8 +1293,9 @@ public class Manager implements Closeable {
for (var address : addressesMissingUuid) { for (var address : addressesMissingUuid) {
final var number = address.getNumber().get(); final var number = address.getNumber().get();
if (registeredUsers.containsKey(number)) { if (registeredUsers.containsKey(number)) {
final var newAddress = resolveSignalServiceAddress(new SignalServiceAddress(registeredUsers.get(number), final var newAddress = resolveSignalServiceAddress(resolveRecipientTrusted(new SignalServiceAddress(
number)); registeredUsers.get(number),
number)));
signalServiceAddresses.add(newAddress); signalServiceAddresses.add(newAddress);
} else { } else {
signalServiceAddresses.add(address); signalServiceAddresses.add(address);