mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-01 14:13:22 +01:00
fixup! Combine username confirmation and link creation into a single operation.
This commit is contained in:
@@ -785,7 +785,7 @@ public class SignalServiceAccountManager {
|
||||
|
||||
public UsernameLinkComponents confirmUsernameAndCreateNewLink(Username username) throws IOException {
|
||||
try {
|
||||
UsernameLink link = link = username.generateLink();
|
||||
UsernameLink link = username.generateLink();
|
||||
UUID serverId = this.pushServiceSocket.confirmUsernameAndCreateNewLink(username, link);
|
||||
|
||||
return new UsernameLinkComponents(link.getEntropy(), serverId);
|
||||
|
||||
Reference in New Issue
Block a user