made account jid lowercase

This commit is contained in:
iNPUTmice 2014-07-04 16:25:02 +02:00
parent c68777c67c
commit d4ce42ac84

View file

@ -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() {