Skip to content

Commit

Permalink
Remove external_url in media messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jul 3, 2023
1 parent 2aca042 commit 96d4f67
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mautrix_twitter/portal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96d4f67

Please sign in to comment.