Update mautrix_telegram/portal/telegram.py
Co-Authored-By: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
@@ -184,7 +184,7 @@ class PortalTelegram(BasePortal, ABC):
|
|||||||
file = await util.transfer_file_to_matrix(source.client, intent, document, thumb_loc,
|
file = await util.transfer_file_to_matrix(source.client, intent, document, thumb_loc,
|
||||||
is_sticker=attrs.is_sticker,
|
is_sticker=attrs.is_sticker,
|
||||||
tgs_convert_type=
|
tgs_convert_type=
|
||||||
self.get_config("animated_sticker_target_type"))
|
config["bridge.animated_sticker_target_type"])
|
||||||
if not file:
|
if not file:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user