mirror of
https://github.com/ihabunek/toot.git
synced 2024-09-22 04:25:55 -04:00
TUI: Use original toot for replies and thread
Previously if you tried to reply to a boosted toot, the username automatically put in the reply box was the username of the one who boosted it, rather than the one who originally posted it. Also, when you opened a boosted thread, it would go to the boosted thread, rather than the original thread. This fixes both of those issues by using the original toot for both replies and threads.
This commit is contained in:
parent
957eec6f40
commit
bcf8f97ca6
@ -144,7 +144,7 @@ class Timeline(urwid.Columns):
|
||||
return
|
||||
|
||||
if key in ("r", "R"):
|
||||
self._emit("reply", status)
|
||||
self._emit("reply", status.original)
|
||||
return
|
||||
|
||||
if key in ("s", "S"):
|
||||
@ -157,7 +157,7 @@ class Timeline(urwid.Columns):
|
||||
return
|
||||
|
||||
if key in ("t", "T"):
|
||||
self._emit("thread", status)
|
||||
self._emit("thread", status.original)
|
||||
return
|
||||
|
||||
if key in ("u", "U"):
|
||||
|
Loading…
Reference in New Issue
Block a user