From 30792a0cabbedc451f122298b1baa18e0bec2c2e Mon Sep 17 00:00:00 2001 From: Dan Schwarz Date: Mon, 6 Mar 2023 19:36:43 -0500 Subject: [PATCH] Properly reference status.original when enumerating status links Fixes #322 --- toot/tui/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toot/tui/app.py b/toot/tui/app.py index 0aec40d..79c18ad 100644 --- a/toot/tui/app.py +++ b/toot/tui/app.py @@ -390,8 +390,8 @@ class TUI(urwid.Frame): self.loop.screen.clear() def show_links(self, status): - links = parse_content_links(status.data["content"]) if status else [] - post_attachments = status.data["media_attachments"] or [] + links = parse_content_links(status.original.data["content"]) if status else [] + post_attachments = status.original.data["media_attachments"] or [] reblog_attachments = (status.data["reblog"]["media_attachments"] if status.data["reblog"] else None) or [] for a in post_attachments + reblog_attachments: