From 4f2c3df3296770011c9fab5ad3f68cd166149df3 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 4 Apr 2018 20:06:49 +0200 Subject: [PATCH] get escaped localpart as username. should fixed sasl --- src/main/java/eu/siacs/conversations/entities/Account.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/entities/Account.java b/src/main/java/eu/siacs/conversations/entities/Account.java index f71766612..83ff9ae51 100644 --- a/src/main/java/eu/siacs/conversations/entities/Account.java +++ b/src/main/java/eu/siacs/conversations/entities/Account.java @@ -318,7 +318,7 @@ public class Account extends AbstractEntity { } public String getUsername() { - return jid.getLocal(); + return jid.getEscapedLocal(); } public boolean setJid(final Jid next) {