Fix gif autoplaying in Matrix chat clients (#69982)

This commit is contained in:
Erik J. Olson 2022-04-13 12:02:38 -05:00 committed by GitHub
parent 4fe5eefc98
commit 1c2bea2dbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ class MatrixBot:
for target_room in target_rooms:
try:
room = self._join_or_get_room(target_room)
room.send_image(mxc, img)
room.send_image(mxc, img, mimetype=content_type)
except MatrixRequestError as ex:
_LOGGER.error(
"Unable to deliver message to room '%s': %d, %s",