mirror of
https://github.com/home-assistant/core
synced 2024-10-01 05:30:36 +02:00
Fix gif autoplaying in Matrix chat clients (#69982)
This commit is contained in:
parent
4fe5eefc98
commit
1c2bea2dbd
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user