mirror of
https://github.com/ihabunek/toot.git
synced 2025-02-02 15:07:51 -05:00
Display a ↷ in status detail window if status got reblogged
This commit is contained in:
parent
f1c8465e63
commit
066589bf53
@ -213,6 +213,9 @@ class StatusDetailWindow:
|
||||
acct = status['boosted_by']['acct']
|
||||
yield "Boosted by @{}".format(acct), Color.GREEN
|
||||
|
||||
if status['reblogged']:
|
||||
yield "↷", Color.CYAN
|
||||
|
||||
def draw(self, status):
|
||||
self.window.erase()
|
||||
self.window.box()
|
||||
|
@ -18,6 +18,7 @@ def parse_status(status):
|
||||
'id': status['id'],
|
||||
'media_attachments': _status['media_attachments'],
|
||||
'url': _status['url'],
|
||||
'reblogged': status.get('reblogged'),
|
||||
'spoiler_text': spoiler_text,
|
||||
'sensitive': _status['sensitive'],
|
||||
'show_sensitive': False,
|
||||
|
Loading…
Reference in New Issue
Block a user