+ if (byNumber.get().getAddress().getUuid().isPresent()) {
+ logger.debug(
+ "Got recipient existing with number, but different uuid, so stripping its number and adding new recipient");
+
+ updateRecipientAddressLocked(byNumber.get().getRecipientId(),
+ new SignalServiceAddress(byNumber.get().getAddress().getUuid().get(), null));
+ return new Pair<>(addNewRecipientLocked(address), Optional.empty());
+ }
+
+ logger.debug("Got recipient existing with number and no uuid, updating with high trust uuid");