mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-28 11:34:31 +01:00
Fix loading some account files without legacy store
This commit is contained in:
@@ -358,7 +358,7 @@ public class SignalAccount implements Closeable {
|
||||
messageCache = new MessageCache(getMessageCachePath(dataPath, username));
|
||||
|
||||
JsonNode threadStoreNode = rootNode.get("threadStore");
|
||||
if (threadStoreNode != null) {
|
||||
if (threadStoreNode != null && !threadStoreNode.isNull()) {
|
||||
LegacyJsonThreadStore threadStore = jsonProcessor.convertValue(threadStoreNode,
|
||||
LegacyJsonThreadStore.class);
|
||||
// Migrate thread info to group and contact store
|
||||
|
||||
Reference in New Issue
Block a user