fixup! Combine username confirmation and link creation into a single operation.
This commit is contained in:
parent
54012cb33a
commit
16ea1912b4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue