mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-31 12:54:19 +01:00
Check if profileKey is null for old accounts
This commit is contained in:
@@ -577,7 +577,8 @@ public class SignalAccount implements Closeable {
|
||||
storageKey == null ? null : Base64.getEncoder().encodeToString(storageKey.serialize()))
|
||||
.put("preKeyIdOffset", preKeyIdOffset)
|
||||
.put("nextSignedPreKeyId", nextSignedPreKeyId)
|
||||
.put("profileKey", Base64.getEncoder().encodeToString(profileKey.serialize()))
|
||||
.put("profileKey",
|
||||
profileKey == null ? null : Base64.getEncoder().encodeToString(profileKey.serialize()))
|
||||
.put("registered", registered)
|
||||
.putPOJO("groupStore", groupStoreStorage)
|
||||
.putPOJO("stickerStore", stickerStoreStorage);
|
||||
|
||||
Reference in New Issue
Block a user