mirror of
https://github.com/maunium/stickerpicker.git
synced 2025-07-17 22:43:33 +02:00
Merge 2fe1ea6c7f
into 89d3aece04
This commit is contained in:
@ -47,6 +47,11 @@ window.onmessage = event => {
|
||||
}
|
||||
|
||||
export function sendSticker(content) {
|
||||
if (content["info"]["net.maunium.telegram.sticker"] === undefined) {
|
||||
// Old sticker, move the property to its new location
|
||||
content["info"]["net.maunium.telegram.sticker"] = content["net.maunium.telegram.sticker"];
|
||||
delete content["net.maunium.telegram.sticker"];
|
||||
}
|
||||
const data = {
|
||||
content: { ...content },
|
||||
// `name` is for Element Web (and also the spec)
|
||||
|
Reference in New Issue
Block a user