initilize keys with jsonobject value on parse error

This commit is contained in:
iNPUTmice 2015-02-26 16:55:49 +01:00
parent b8bc70aaa0
commit fa45ceabc9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}