Import/export chat styles
This commit is contained in:
parent
6fb76e00c4
commit
8f2061e11d
15 changed files with 663 additions and 47 deletions
|
@ -368,6 +368,7 @@ async function bulkAddSignedPreKeys(
|
|||
// Items
|
||||
|
||||
const ITEM_SPECS: Partial<Record<ItemKeyType, ObjectMappingSpecType>> = {
|
||||
defaultWallpaperPhotoPointer: ['value'],
|
||||
identityKeyMap: {
|
||||
key: 'value',
|
||||
valueSpec: {
|
||||
|
@ -379,6 +380,7 @@ const ITEM_SPECS: Partial<Record<ItemKeyType, ObjectMappingSpecType>> = {
|
|||
senderCertificate: ['value.serialized'],
|
||||
senderCertificateNoE164: ['value.serialized'],
|
||||
subscriberId: ['value'],
|
||||
backupsSubscriberId: ['value'],
|
||||
usernameLink: ['value.entropy', 'value.serverId'],
|
||||
};
|
||||
async function createOrUpdateItem<K extends ItemKeyType>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue