Skip to content
This repository was archived by the owner on Mar 28, 2026. It is now read-only.

Commit 5ce3af6

Browse files
committed
fixup! connector/tomatrix: fix video stickers
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
1 parent ef10c74 commit 5ce3af6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/connector/tomatrix.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,9 @@ func (c *TelegramClient) convertMediaRequiringUpload(ctx context.Context, portal
327327
content.MsgType = event.MsgVideo
328328
transferer = transferer.WithVideo(a)
329329

330-
extraInfo["fi.mau.telegram.round_message"] = a.RoundMessage
330+
if a.RoundMessage {
331+
extraInfo["fi.mau.telegram.round_message"] = a.RoundMessage
332+
}
331333
extraInfo["duration"] = int(a.Duration * 1000)
332334
case *tg.DocumentAttributeAudio:
333335
if content.MsgType != event.MsgVideo {

0 commit comments

Comments
 (0)