portal: add missing fi.mau.gif field to gifvs
This commit is contained in:
@@ -252,6 +252,7 @@ func (portal *Portal) convertDiscordVideoEmbed(ctx context.Context, intent *apps
|
|||||||
if content.MsgType == event.MsgVideo && embed.Type == discordgo.EmbedTypeGifv {
|
if content.MsgType == event.MsgVideo && embed.Type == discordgo.EmbedTypeGifv {
|
||||||
extra["info"] = map[string]any{
|
extra["info"] = map[string]any{
|
||||||
"fi.mau.discord.gifv": true,
|
"fi.mau.discord.gifv": true,
|
||||||
|
"fi.mau.gif": true,
|
||||||
"fi.mau.loop": true,
|
"fi.mau.loop": true,
|
||||||
"fi.mau.autoplay": true,
|
"fi.mau.autoplay": true,
|
||||||
"fi.mau.hide_controls": true,
|
"fi.mau.hide_controls": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user