diff --git a/toot/tui/entities.py b/toot/tui/entities.py index e694740..9a16724 100644 --- a/toot/tui/entities.py +++ b/toot/tui/entities.py @@ -31,7 +31,7 @@ class Status: self.reblogged = data.get("reblogged", False) self.in_reply_to = data.get("in_reply_to_id") - reblog = data.get("reblog") + self.reblog = reblog = data.get("reblog") self.url = reblog.get("url") if reblog else data.get("url") def get_author(self): diff --git a/toot/tui/timeline.py b/toot/tui/timeline.py index 557d556..12c2308 100644 --- a/toot/tui/timeline.py +++ b/toot/tui/timeline.py @@ -316,6 +316,7 @@ class StatusListItem(SelectableColumns): created_at = status.created_at.strftime("%Y-%m-%d %H:%M") favourited = ("yellow", "★") if status.favourited else " " reblogged = ("yellow", "♺") if status.reblogged else " " + is_reblog = ("cyan", "♺") if status.reblog else " " is_reply = ("cyan", "⤶") if status.in_reply_to else " " return super().__init__([ @@ -327,5 +328,6 @@ class StatusListItem(SelectableColumns): ("pack", urwid.Text(" ")), urwid.Text(("green", status.account), wrap="clip"), ("pack", urwid.Text(is_reply)), + ("pack", urwid.Text(is_reblog)), ("pack", urwid.Text(" ")), ])