aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2015-02-26 16:55:49 +0100
committeriNPUTmice <daniel@gultsch.de>2015-02-26 16:55:49 +0100
commitfa45ceabc97cee3ec48fc1a726a4806884aeb747 (patch)
tree37040b80ae62af308a5031c7385a90ac3ee930cf /src/main
parentb8bc70aaa0bd3228dff1848bedeaf19568f4abf8 (diff)
initilize keys with jsonobject value on parse error
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/siacs/conversations/entities/Account.java2
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;
}