diff --git a/pkg/connector/tomatrix.go b/pkg/connector/tomatrix.go index 8bf1adb2..469d24eb 100644 --- a/pkg/connector/tomatrix.go +++ b/pkg/connector/tomatrix.go @@ -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