Sandra Snan: 1
Include server part of username mentions
1 files changed, 1 insertions(+), 1 deletions(-)
My only instance is an Akkoma instance and I've been dogfooding it
on there since mid February. Works fine there.
"Ivan Habunek" <ivan@habunek.com> writes:
I ran into a problem with it today with a post that had this
Content:
<p><span class=\"h-card\"><a
href=\"https://idiomdrottning.org/users/Sandra\" class=\"u-url
mention\">@<span>Sandra</span></a></span> And do you like it? I
know snac2 had it but I hated it (or the particular
implementation). <span class=\"h-card\"><a
href=\"https://mathstodon.xyz/@bremner\" class=\"u-url
mention\">@<span>bremner</span></a></span></p>
https://social.alexschroeder.ch/@alex/statuses/01J1SB3J7QEFSGVZBK8126YKF0
It just showed:
@bremner@mathstodon.xyz
I'm probably gonna unapply this patch now that I'm using
toot status --json $1 | jq -r '..|select(.acct?).acct' | mawk
'!s[$0]++' | grep -v '^Sandra$' | sed 's;^;@;'
to get usernames in my reply script anyway, not having to paste
them in from the post.