diff options
author | Mateusz "maxmati" Nowoty?ski <admin@maxmati.pl> | 2015-03-05 22:11:59 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-03-11 15:59:31 +0100 |
commit | 74e5317095f19b16f99251ba25177d84aaf21a8a (patch) | |
tree | f8e12c3cd002de9e8a30bf06befe612d9e14bdd9 /src/main/java/eu/siacs/conversations/entities/Contact.java | |
parent | 4ee4eeb5e7d87001f1da83951f67609384bca853 (diff) |
Do not Strigprep JIDs from database
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/Contact.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Contact.java b/src/main/java/eu/siacs/conversations/entities/Contact.java index 698e0322..cef03ebe 100644 --- a/src/main/java/eu/siacs/conversations/entities/Contact.java +++ b/src/main/java/eu/siacs/conversations/entities/Contact.java @@ -80,7 +80,7 @@ public class Contact implements ListItem, Blockable { cursor.getLong(cursor.getColumnIndex(LAST_TIME))); final Jid jid; try { - jid = Jid.fromString(cursor.getString(cursor.getColumnIndex(JID))); + jid = Jid.fromString(cursor.getString(cursor.getColumnIndex(JID)), true); } catch (final InvalidJidException e) { // TODO: Borked DB... handle this somehow? return null; |