Skip to content

Commit

Permalink
fixup! connector/tomatrix: fix video stickers
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Jan 6, 2025
1 parent ef10c74 commit 5ce3af6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/connector/tomatrix.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,9 @@ func (c *TelegramClient) convertMediaRequiringUpload(ctx context.Context, portal
content.MsgType = event.MsgVideo
transferer = transferer.WithVideo(a)

extraInfo["fi.mau.telegram.round_message"] = a.RoundMessage
if a.RoundMessage {
extraInfo["fi.mau.telegram.round_message"] = a.RoundMessage
}
extraInfo["duration"] = int(a.Duration * 1000)
case *tg.DocumentAttributeAudio:
if content.MsgType != event.MsgVideo {
Expand Down

0 comments on commit 5ce3af6

Please sign in to comment.