Matrix: Difference between revisions

imported>Pacien
m fix formatting
imported>Pacien
m fix formatting 2
Line 147: Line 147:
         };
         };


# Animated stickers conversion requires additional packages in the
        # Animated stickers conversion requires additional packages in the
# service's path.
        # service's path.
# If this isn't a fresh installation, clearing the bridge's uploaded
        # If this isn't a fresh installation, clearing the bridge's uploaded
# file cache might be necessary (make a database backup first!):
        # file cache might be necessary (make a database backup first!):
# `delete from telegram_file where
        # delete from telegram_file where \
#   mime_type in ('application/gzip', 'application/octet-stream')`
        #   mime_type in ('application/gzip', 'application/octet-stream')
animated_sticker = {
        animated_sticker = {
           target = "gif";
           target = "gif";
           args = {
           args = {
Line 170: Line 170:
     ffmpeg          # if converting animated stickers to webm (very slow!)
     ffmpeg          # if converting animated stickers to webm (very slow!)
   ];
   ];
}
}
</syntaxhighlight>
</syntaxhighlight>