stickers: strip filename
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
@@ -313,6 +313,11 @@ func (c *TelegramClient) convertMediaRequiringUpload(ctx context.Context, portal
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Strip filename if it's a sticker
|
||||||
|
if isSticker {
|
||||||
|
content.FileName = ""
|
||||||
|
}
|
||||||
|
|
||||||
if isVideoGif {
|
if isVideoGif {
|
||||||
extraInfo["fi.mau.gif"] = true
|
extraInfo["fi.mau.gif"] = true
|
||||||
extraInfo["fi.mau.loop"] = true
|
extraInfo["fi.mau.loop"] = true
|
||||||
|
|||||||
Reference in New Issue
Block a user