aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-04 16:25:02 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-04 16:25:02 +0200
commitd4ce42ac849cbf2c5313bc667c8dc8ae778cc29f (patch)
tree6e9d5d12b7e1aca90dcbc8c355b98677efba289a /src/eu/siacs
parentc68777c67c77f2b488adb70d087870d2fb4e793f (diff)
made account jid lowercase
Diffstat (limited to 'src/eu/siacs')
-rw-r--r--src/eu/siacs/conversations/entities/Account.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/entities/Account.java b/src/eu/siacs/conversations/entities/Account.java
index b9c87eac..a73d49f9 100644
--- a/src/eu/siacs/conversations/entities/Account.java
+++ b/src/eu/siacs/conversations/entities/Account.java
@@ -1,6 +1,7 @@
package eu.siacs.conversations.entities;
import java.security.interfaces.DSAPublicKey;
+import java.util.Locale;
import net.java.otr4j.crypto.OtrCryptoEngineImpl;
import net.java.otr4j.crypto.OtrCryptoException;
@@ -149,7 +150,7 @@ public class Account extends AbstractEntity{
}
public String getJid() {
- return username+"@"+server;
+ return username.toLowerCase(Locale.getDefault())+"@"+server.toLowerCase(Locale.getDefault());
}
public JSONObject getKeys() {