"pattern":"\\Qkotlin/coroutines/coroutines.kotlin_builtins\\E"
}, {
"pattern":"\\Qkotlin/internal/internal.kotlin_builtins\\E"
+ }, {
+ "pattern":"\\Qkotlin/jvm/jvm.kotlin_builtins\\E"
}, {
"pattern":"\\Qkotlin/kotlin.kotlin_builtins\\E"
}, {
// Old config file, creating new profile key
setProfileKey(KeyUtils.createProfileKey());
}
- getProfileStore().storeProfileKey(getSelfRecipientId(), getProfileKey());
+ getProfileStore().storeSelfProfileKey(getSelfRecipientId(), getProfileKey());
if (previousStorageVersion < 5) {
final var legacyRecipientsStoreFile = new File(userPath, "recipients-store");
}
public RecipientStore getRecipientStore() {
- return getOrCreate(() -> recipientStore,
- () -> recipientStore = new RecipientStore(this::mergeRecipients,
- this::getSelfRecipientAddress,
- getAccountDatabase()));
+ return getOrCreate(() -> recipientStore, () -> {
+ recipientStore = new RecipientStore(this::mergeRecipients,
+ this::getSelfRecipientAddress,
+ getAccountDatabase());
+ getProfileStore().storeSelfProfileKey(getSelfRecipientId(), getProfileKey());
+ });
}
public ProfileStore getProfileStore() {