diff --git a/toot/ui/app.py b/toot/ui/app.py index 9658e72..2521428 100644 --- a/toot/ui/app.py +++ b/toot/ui/app.py @@ -129,6 +129,8 @@ class StatusListWindow: self.pad.addstr(offset + 2, 14, acct, color) else: self.pad.addstr(offset + 1, 14, acct, color) + if status['in_reply_to_id'] is not None: + self.pad.addstr(offset + 1, width - 3, '⤶', Color.CYAN) date, time = status['created_at'] self.pad.addstr(offset + 1, 1, " " + date.ljust(12), color) diff --git a/toot/ui/parsers.py b/toot/ui/parsers.py index 7db4595..c5bc564 100644 --- a/toot/ui/parsers.py +++ b/toot/ui/parsers.py @@ -17,6 +17,7 @@ def parse_status(status): 'content': content, 'favourited': status.get('favourited'), 'id': status['id'], + 'in_reply_to_id': _status.get('in_reply_to_id'), 'media_attachments': _status['media_attachments'], 'url': _status['url'], 'reblogged': status.get('reblogged'),