mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 07:28:06 +01:00
Fix new account calculation
This commit is contained in:
@@ -67,8 +67,9 @@ public class Accounts {
|
||||
.mapTo(UUID.class)
|
||||
.findOnly();
|
||||
|
||||
boolean isNew = uuid.equals(account.getUuid());
|
||||
account.setUuid(uuid);
|
||||
return uuid.equals(account.getUuid());
|
||||
return isNew;
|
||||
} catch (JsonProcessingException e) {
|
||||
throw new IllegalArgumentException(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user