portal: add missing fi.mau.gif field to gifvs

This commit is contained in:
Tulir Asokan 2024-11-14 22:57:09 +02:00
parent 0d148ffad6
commit a9df85fdca

View file

@ -252,6 +252,7 @@ func (portal *Portal) convertDiscordVideoEmbed(ctx context.Context, intent *apps
if content.MsgType == event.MsgVideo && embed.Type == discordgo.EmbedTypeGifv {
extra["info"] = map[string]any{
"fi.mau.discord.gifv": true,
"fi.mau.gif": true,
"fi.mau.loop": true,
"fi.mau.autoplay": true,
"fi.mau.hide_controls": true,