metadata: gate setting DM portal metadata behind config option

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
Sumner Evans
2024-07-16 18:50:15 -06:00
parent 69c9e3c38c
commit 0e6ea310d1
3 changed files with 65 additions and 50 deletions
+13 -5
View File
@@ -2,13 +2,21 @@
app_id: 12345
app_hash: tjyd5yge35lbodk1xwzw2jstp90k55qz
# Whether to explicitly set the avatar and room name for private chat portal
# rooms.
set_private_chat_portal_meta: true
# Settings for converting animated stickers.
animated_sticker:
# Format to which animated stickers should be converted.
# disable - No conversion, send as-is (gzipped lottie)
# png - converts to non-animated png (fastest),
# gif - converts to animated gif
# webm - converts to webm video, requires ffmpeg executable with vp9 codec and webm container support
# webp - converts to animated webp, requires ffmpeg executable with webp codec/container support
#
# disable - no conversion, send as-is (gzipped lottie)
# png - converts to non-animated png (fastest),
# gif - converts to animated gif
# webm - converts to webm video, requires ffmpeg executable with vp9 codec
# and webm container support
# webp - converts to animated webp, requires ffmpeg executable with webp
# codec/container support
target: gif
# Should video stickers be converted to the specified format as well?
convert_from_webm: false