-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For replies, don't send mentions to the original post's author #686
Comments
I'm trying out fed.brid.gy, and it looks like only mentions are sent, not replies. The two webmentions sent were:
I expected the first one to be a in-reply-to instead of a mention-of. (Not sure if this is the expected behavior or some config issue on my side or a bug) |
Hmm. Looking at the webmention source URL https://ap.brid.gy/convert/web/https:/mas.to/users/srijan/statuses/111300414574401571/activity (same for both webmentions), it 301 redirects to https://ap.brid.gy/convert/web/https://mas.to/users/srijan/statuses/111300414574401571 , which has this HTML with Not sure why webmention.io didn't catch that. cc @aaronpk <!DOCTYPE html>
<html>
<head><meta charset="utf-8">
<meta http-equiv="refresh" content="0;url=https://mas.to/@srijan/111300414574401571"></head>
<body class="">
<article class="h-entry">
<span class="p-uid">https://mas.to/users/srijan/statuses/111300414574401571</span>
<time class="dt-published" datetime="2023-10-26T08:39:08+00:00">2023-10-26T08:39:08+00:00</time>
<span class="p-author h-card">
<data class="p-uid" value="https://mas.to/users/srijan"></data>
<a class="p-name u-url" href="https://mas.to/@srijan">Srijan Choudhary</a>
<span class="p-nickname">srijan</span>
<img class="u-photo" src="https://media.mas.to/masto-public/accounts/avatars/111/276/301/174/418/921/original/100dad9f447a27a3.jpeg" alt="" />
</span>
<a title="mas.to/@srijan/111300414574401571" class="u-url" href="https://mas.to/@srijan/111300414574401571">mas.to/@srijan/111300...</a>
<div class="e-content p-name">
<p><span class="h-card" translate="no"><a href="https://fed.brid.gy/r/https://srijan.ch" class="u-url mention">@<span>srijan.ch</span></a></span> Test reply from mastodon. Trial 3.</p>
<a class="u-mention" aria-hidden="true" href="https://srijan.ch/"></a>
</div>
<a class="u-in-reply-to" href="https://srijan.ch/notes/2023-10-26-001"></a>
</article>
</body>
</html> |
webmention.io uses XRay, right? XRay sees the |
@snarfed - I tested this again today, and it looks like now I'm getting two webmentions of type reply - one to the post page and one to the author/home page. |
Yes! Sorry for the trouble, that happens with replies that also @-mention you. This issue tracks de-duping those. |
Hopefully fixed now 🤞 |
Looks like we started doing unintentionally this as part of #633/#493. Should hopefully be an easy fix.
The text was updated successfully, but these errors were encountered: