mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Fix loading some account files without legacy store
This commit is contained in:
parent
fc76c9badf
commit
54a2a95fb5
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ public class SignalAccount implements Closeable {
|
||||||
messageCache = new MessageCache(getMessageCachePath(dataPath, username));
|
messageCache = new MessageCache(getMessageCachePath(dataPath, username));
|
||||||
|
|
||||||
JsonNode threadStoreNode = rootNode.get("threadStore");
|
JsonNode threadStoreNode = rootNode.get("threadStore");
|
||||||
if (threadStoreNode != null) {
|
if (threadStoreNode != null && !threadStoreNode.isNull()) {
|
||||||
LegacyJsonThreadStore threadStore = jsonProcessor.convertValue(threadStoreNode,
|
LegacyJsonThreadStore threadStore = jsonProcessor.convertValue(threadStoreNode,
|
||||||
LegacyJsonThreadStore.class);
|
LegacyJsonThreadStore.class);
|
||||||
// Migrate thread info to group and contact store
|
// Migrate thread info to group and contact store
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue