stickers: strip filename

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
Sumner Evans
2024-10-08 08:21:23 -06:00
parent 96331761b8
commit 9576f48c5b
+5
View File
@@ -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 {
extraInfo["fi.mau.gif"] = true
extraInfo["fi.mau.loop"] = true