diff --git a/lib/src/main/java/org/asamk/signal/manager/helper/AccountHelper.java b/lib/src/main/java/org/asamk/signal/manager/helper/AccountHelper.java index 299ce4d3..85c9b220 100644 --- a/lib/src/main/java/org/asamk/signal/manager/helper/AccountHelper.java +++ b/lib/src/main/java/org/asamk/signal/manager/helper/AccountHelper.java @@ -446,6 +446,8 @@ public class AccountHelper { } public void deleteUsername() throws IOException { + dependencies.getAccountManager().deleteUsernameLink(); + account.setUsernameLink(null); dependencies.getAccountManager().deleteUsername(); account.setUsername(null); logger.debug("[deleteUsername] Successfully deleted the username.");