A few fixes for the emoji bundled with stickers
This commit is contained in:
parent
7a1686b915
commit
fde917c983
6 changed files with 30 additions and 8 deletions
1
ts/textsecure/Types.d.ts
vendored
1
ts/textsecure/Types.d.ts
vendored
|
@ -171,6 +171,7 @@ export type ProcessedSticker = {
|
|||
packId?: string;
|
||||
packKey?: string;
|
||||
stickerId?: number;
|
||||
emoji?: string;
|
||||
data?: ProcessedAttachment;
|
||||
};
|
||||
|
||||
|
|
|
@ -212,6 +212,7 @@ export function processSticker(
|
|||
packId: sticker.packId ? Bytes.toHex(sticker.packId) : undefined,
|
||||
packKey: sticker.packKey ? Bytes.toBase64(sticker.packKey) : undefined,
|
||||
stickerId: dropNull(sticker.stickerId),
|
||||
emoji: dropNull(sticker.emoji),
|
||||
data: processAttachment(sticker.data),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue