~ihabunek/toot-discuss

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Reply to original account instead of boosting account

Lim Ding Wen <limdingwen@gmail.com>
Details
Message ID
<20221221221719.24606-1-limdingwen@gmail.com>
DKIM signature
missing
Download raw message
Patch: +2 -2
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)
Details
Message ID
<5c15c540-6ff7-4828-a4ea-a3b1bf74a196@app.fastmail.com>
In-Reply-To
<20221221221719.24606-1-limdingwen@gmail.com> (view parent)
DKIM signature
missing
Download raw message
Thanks!

-- Ivan
Reply to thread Export thread (mbox)