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/Message.java | |
parent | 4ee4eeb5e7d87001f1da83951f67609384bca853 (diff) |
Do not Strigprep JIDs from database
Diffstat (limited to 'src/main/java/eu/siacs/conversations/entities/Message.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/Message.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Message.java b/src/main/java/eu/siacs/conversations/entities/Message.java index d9710289..8015eead 100644 --- a/src/main/java/eu/siacs/conversations/entities/Message.java +++ b/src/main/java/eu/siacs/conversations/entities/Message.java @@ -117,7 +117,7 @@ public class Message extends AbstractEntity { try { String value = cursor.getString(cursor.getColumnIndex(COUNTERPART)); if (value != null) { - jid = Jid.fromString(value); + jid = Jid.fromString(value, true); } else { jid = null; } @@ -128,7 +128,7 @@ public class Message extends AbstractEntity { try { String value = cursor.getString(cursor.getColumnIndex(TRUE_COUNTERPART)); if (value != null) { - trueCounterpart = Jid.fromString(value); + trueCounterpart = Jid.fromString(value, true); } else { trueCounterpart = null; } |