mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Check if profileKey is null for old accounts
This commit is contained in:
parent
4f578c2645
commit
312c6c8bb2
1 changed files with 2 additions and 1 deletions
|
@ -577,7 +577,8 @@ public class SignalAccount implements Closeable {
|
||||||
storageKey == null ? null : Base64.getEncoder().encodeToString(storageKey.serialize()))
|
storageKey == null ? null : Base64.getEncoder().encodeToString(storageKey.serialize()))
|
||||||
.put("preKeyIdOffset", preKeyIdOffset)
|
.put("preKeyIdOffset", preKeyIdOffset)
|
||||||
.put("nextSignedPreKeyId", nextSignedPreKeyId)
|
.put("nextSignedPreKeyId", nextSignedPreKeyId)
|
||||||
.put("profileKey", Base64.getEncoder().encodeToString(profileKey.serialize()))
|
.put("profileKey",
|
||||||
|
profileKey == null ? null : Base64.getEncoder().encodeToString(profileKey.serialize()))
|
||||||
.put("registered", registered)
|
.put("registered", registered)
|
||||||
.putPOJO("groupStore", groupStoreStorage)
|
.putPOJO("groupStore", groupStoreStorage)
|
||||||
.putPOJO("stickerStore", stickerStoreStorage);
|
.putPOJO("stickerStore", stickerStoreStorage);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue