diff options
Diffstat (limited to 'lib/syncdata.cpp')
-rw-r--r-- | lib/syncdata.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/syncdata.cpp b/lib/syncdata.cpp index 9c54888c..d0533fc9 100644 --- a/lib/syncdata.cpp +++ b/lib/syncdata.cpp @@ -205,6 +205,10 @@ void SyncData::parseJson(const QJsonObject& json, const QString& baseDir) fromJson(json.value("device_one_time_keys_count"_ls), deviceOneTimeKeysCount_); + if(json.contains("device_lists")) { + fromJson(json.value("device_lists"), devicesList); + } + auto rooms = json.value("rooms"_ls).toObject(); auto totalRooms = 0; auto totalEvents = 0; |