Check if profileKey is null for old accounts
This commit is contained in:
parent
4f578c2645
commit
312c6c8bb2
@ -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…
x
Reference in New Issue
Block a user