From 16bc210211bd8c31e1466bb3a13a4b976d852eb6 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 14 Jun 2020 11:28:25 +0200 Subject: [PATCH] fix regression for fixed domain --- src/main/java/eu/siacs/conversations/utils/AccountUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/utils/AccountUtils.java b/src/main/java/eu/siacs/conversations/utils/AccountUtils.java index 09b65f694..a324b242e 100644 --- a/src/main/java/eu/siacs/conversations/utils/AccountUtils.java +++ b/src/main/java/eu/siacs/conversations/utils/AccountUtils.java @@ -39,7 +39,7 @@ public class AccountUtils { for (Account account : service.getAccounts()) { if (account.getStatus() != Account.State.DISABLED) { if (Config.DOMAIN_LOCK != null) { - accounts.add(account.getJid().toEscapedString()); + accounts.add(account.getJid().getEscapedLocal()); } else { accounts.add(account.getJid().asBareJid().toEscapedString()); }