get escaped localpart as username. should fixed sasl
This commit is contained in:
parent
bda95bc571
commit
4f2c3df329
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue