Resolve sticker pack references after import
This commit is contained in:
parent
fbdf589f13
commit
9fab74e867
7 changed files with 216 additions and 40 deletions
|
@ -4155,7 +4155,12 @@ export class ConversationModel extends window.Backbone
|
|||
await this.#beforeAddSingleMessage(model.attributes);
|
||||
|
||||
if (sticker) {
|
||||
await addStickerPackReference(model.id, sticker.packId);
|
||||
await addStickerPackReference({
|
||||
messageId: model.id,
|
||||
packId: sticker.packId,
|
||||
stickerId: sticker.stickerId,
|
||||
isUnresolved: false,
|
||||
});
|
||||
}
|
||||
|
||||
this.beforeMessageSend({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue