friends icon indicating copy to clipboard operation
friends copied to clipboard

Subscribing to an individual post via the bookmarklet, or directly, is technically valid but probably does not do what the user wants.

Open alecmuffett opened this issue 2 years ago • 1 comments

So I visited https://mastodon.green/@gcluley/109643227515676255 and used the Add Friend bookmarklet.

I then hit "Quick Subscribe".

Quick subscribe did not do what I expected, it just dropped me into the normal feed-adding dialogue.

Then I noticed that it had subscribed me to the feed for the individual post, rather than for the user.

https://DELETIA/wp-admin/admin.php?page=add-friend&parser=activitypub&preview=https%3A%2F%2Fmastodon.green%2Fusers%2Fgcluley%2Fstatuses%2F109643227515676255&_wp_http_referer=%2Fwp-admin%2Fadmin.php%3Fpage%3Dadd-friend%26url%3Dhttps%253A%252F%252Fmastodon.green%252F%2540gcluley%252F109643227515676255&_wpnonce=88febe31ab

There are two or three ways to address this.

I suspect that this behaviour is legitimate but unexpected, so my suspicion is that either the Bookmarklet OR ELSE, AND PROBABLY BETTER the feed-adding page, should tell the user that they have asked to subscribe to @[email protected]/something and that maybe in this instance they meant to subscribe to @[email protected], giving them a clickable link to fix that / to restart the "add" process?

Version:

+ git show HEAD
commit 7aec2d72a3bf897788a57f760b3302127cb03603
Author: Alex Kirk <[email protected]>
Date:   Sat Jan 7 09:29:30 2023 +0100

alecmuffett avatar Jan 07 '23 12:01 alecmuffett

Thank for flagging. I created the bookmarklet before ActivityPub support. It's intended to grab the RSS feeds from the <link> HTML tag, it probably just needs a bit of additional handling in the ActivityPub parser's discover_available_feeds function.

akirk avatar Jan 10 '23 15:01 akirk