mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 15:38:07 +01:00
Make storageCapable a boolean result rather than an auth token
This commit is contained in:
@@ -12,20 +12,20 @@ public class AccountCreationResult {
|
||||
private UUID uuid;
|
||||
|
||||
@JsonProperty
|
||||
private ExternalServiceCredentials backupCredentials;
|
||||
private boolean storageCapable;
|
||||
|
||||
public AccountCreationResult() {}
|
||||
|
||||
public AccountCreationResult(UUID uuid, ExternalServiceCredentials backupCredentials) {
|
||||
this.uuid = uuid;
|
||||
this.backupCredentials = backupCredentials;
|
||||
public AccountCreationResult(UUID uuid, boolean storageCapable) {
|
||||
this.uuid = uuid;
|
||||
this.storageCapable = storageCapable;
|
||||
}
|
||||
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public ExternalServiceCredentials getBackupCredentials() {
|
||||
return backupCredentials;
|
||||
public boolean isStorageCapable() {
|
||||
return storageCapable;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user