mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
A few fixes for the emoji bundled with stickers
This commit is contained in:
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),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user