diff --git a/mautrix_telegram/example-config.yaml b/mautrix_telegram/example-config.yaml index f73b4733..28a2da51 100644 --- a/mautrix_telegram/example-config.yaml +++ b/mautrix_telegram/example-config.yaml @@ -198,7 +198,7 @@ bridge: # to resolve redirects in invite links. invite_link_resolve: false # Use inline images instead of a separate message for the caption. - # N.B. Inline images are not supported on all clients (e.g. Riot iOS). + # N.B. Inline images are not supported on all clients (e.g. Element iOS/Android). inline_images: false # Maximum size of image in megabytes before sending to Telegram as a document. image_as_file_size: 10 diff --git a/mautrix_telegram/portal/telegram.py b/mautrix_telegram/portal/telegram.py index 0e3cfb07..104f5065 100644 --- a/mautrix_telegram/portal/telegram.py +++ b/mautrix_telegram/portal/telegram.py @@ -185,7 +185,7 @@ class PortalTelegram(BasePortal, ABC): width=file.thumbnail.width or thumb_size.w, size=file.thumbnail.size) else: - # This is a hack for bad clients like Riot iOS that require a thumbnail + # This is a hack for bad clients like Element iOS that require a thumbnail if file.decryption_info: info.thumbnail_file = file.decryption_info else: @@ -226,7 +226,7 @@ class PortalTelegram(BasePortal, ABC): await intent.set_typing(self.mxid, is_typing=False) event_type = EventType.ROOM_MESSAGE - # Riot only supports images as stickers, so send animated webm stickers as m.video + # Elements only support images as stickers, so send animated webm stickers as m.video if attrs.is_sticker and file.mime_type.startswith("image/"): event_type = EventType.STICKER content = MediaMessageEventContent(