Affects the "replying to" TUI label, and the mention auto-generated.
This brings it more in-line with Mastodon web behaviour.
---
toot/tui/compose.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/toot/tui/compose.py b/toot/tui/compose.py
index 4b29958..ae189c9 100644
--- a/toot/tui/compose.py
+++ b/toot/tui/compose.py
@@ -47,7 +47,7 @@ class StatusComposer(urwid.Frame):
if not in_reply_to:
return ""
- text = '@{} '.format(in_reply_to.account)
+ text = '@{} '.format(in_reply_to.original.account)
mentions = ['@{}'.format(m["acct"]) for m in in_reply_to.mentions]
if mentions:
text += '\n\n{}'.format(' '.join(mentions))
@@ -62,7 +62,7 @@ class StatusComposer(urwid.Frame):
def generate_list_items(self):
if self.in_reply_to:
- yield urwid.Text(("gray", "Replying to {}".format(self.in_reply_to.account)))
+ yield urwid.Text(("gray", "Replying to {}".format(self.in_reply_to.original.account)))
yield urwid.AttrWrap(urwid.Divider("-"), "gray")
yield urwid.Text("Status message")
--
2.32.1 (Apple Git-133)