From 96d4f67bd839406bbcf91888deb1c342fddd505b Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 3 Jul 2023 20:35:22 +0300 Subject: [PATCH] Remove external_url in media messages --- mautrix_twitter/portal.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mautrix_twitter/portal.py b/mautrix_twitter/portal.py index b9cebe9..f2eaa61 100644 --- a/mautrix_twitter/portal.py +++ b/mautrix_twitter/portal.py @@ -660,7 +660,6 @@ async def _handle_twitter_media( body=reuploaded_info.file_name, url=reuploaded_info.mxc, file=reuploaded_info.decryption_info, - external_url=media.media_url_https, ) if message.attachment.video and message.attachment.video.audio_only: content.msgtype = MessageType.AUDIO