]> nmode's Git Repositories - signal-cli/commitdiff
Check account identifiers on the server before updating the account attributes
authorAsamK <asamk@gmx.de>
Tue, 21 Jun 2022 15:18:16 +0000 (17:18 +0200)
committerAsamK <asamk@gmx.de>
Tue, 21 Jun 2022 18:38:10 +0000 (20:38 +0200)
lib/src/main/java/org/asamk/signal/manager/ManagerImpl.java

index 6f178e4eedc23922f7cdae968ed1a95c4e1b7743..cdb6f6401839fa5cfb493bf094ee6a5b8f50bdb0 100644 (file)
@@ -231,6 +231,7 @@ class ManagerImpl implements Manager {
         if (deviceName != null) {
             context.getAccountHelper().setDeviceName(deviceName);
         }
+        context.getAccountHelper().checkWhoAmiI();
         context.getAccountHelper().updateAccountAttributes();
     }