get escaped localpart as username. should fixed sasl

This commit is contained in:
Daniel Gultsch 2018-04-04 20:06:49 +02:00
parent bda95bc571
commit 4f2c3df329

View file

@ -318,7 +318,7 @@ public class Account extends AbstractEntity {
} }
public String getUsername() { public String getUsername() {
return jid.getLocal(); return jid.getEscapedLocal();
} }
public boolean setJid(final Jid next) { public boolean setJid(final Jid next) {