From bcf8f97ca688532bcf1f84e53c0f0fa78ea97086 Mon Sep 17 00:00:00 2001 From: Josias Date: Wed, 29 Jul 2020 11:04:57 +0200 Subject: [PATCH] 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. --- toot/tui/timeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toot/tui/timeline.py b/toot/tui/timeline.py index 1885c5bc..9e2d9322 100644 --- a/toot/tui/timeline.py +++ b/toot/tui/timeline.py @@ -144,7 +144,7 @@ def keypress(self, size, key): 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 @@ def keypress(self, size, key): return if key in ("t", "T"): - self._emit("thread", status) + self._emit("thread", status.original) return if key in ("u", "U"):