kopia lustrzana https://github.com/ihabunek/toot
rodzic
9d51546be3
commit
30792a0cab
|
@ -390,8 +390,8 @@ class TUI(urwid.Frame):
|
||||||
self.loop.screen.clear()
|
self.loop.screen.clear()
|
||||||
|
|
||||||
def show_links(self, status):
|
def show_links(self, status):
|
||||||
links = parse_content_links(status.data["content"]) if status else []
|
links = parse_content_links(status.original.data["content"]) if status else []
|
||||||
post_attachments = status.data["media_attachments"] or []
|
post_attachments = status.original.data["media_attachments"] or []
|
||||||
reblog_attachments = (status.data["reblog"]["media_attachments"] if status.data["reblog"] else None) or []
|
reblog_attachments = (status.data["reblog"]["media_attachments"] if status.data["reblog"] else None) or []
|
||||||
|
|
||||||
for a in post_attachments + reblog_attachments:
|
for a in post_attachments + reblog_attachments:
|
||||||
|
|
Ładowanie…
Reference in New Issue