fix regression for fixed domain

This commit is contained in:
Daniel Gultsch 2020-06-14 11:28:25 +02:00
parent c3b9a4dabc
commit 16bc210211

View file

@ -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());
}