diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-02-26 16:55:49 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-02-26 16:55:49 +0100 |
commit | fa45ceabc97cee3ec48fc1a726a4806884aeb747 (patch) | |
tree | 37040b80ae62af308a5031c7385a90ac3ee930cf /src | |
parent | b8bc70aaa0bd3228dff1848bedeaf19568f4abf8 (diff) |
initilize keys with jsonobject value on parse error
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/Account.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Account.java b/src/main/java/eu/siacs/conversations/entities/Account.java index b0cde62c..2bc2c954 100644 --- a/src/main/java/eu/siacs/conversations/entities/Account.java +++ b/src/main/java/eu/siacs/conversations/entities/Account.java @@ -148,7 +148,7 @@ public class Account extends AbstractEntity { try { this.keys = new JSONObject(keys); } catch (final JSONException ignored) { - + this.keys = new JSONObject(); } this.avatar = avatar; } |