rugk / mastodon-simplified-federation

Simplifies following and interacting with remote users on other Mastodon instances.
https://addons.mozilla.org/firefox/addon/mastodon-simplified-federation/?utm_source=github.com&utm_medium=github&utm_content=github-url-description&campaign=github-url-description
Other
255 stars 20 forks source link

Support for Pleroma as home instance (removing the @ prefix) #107

Open xnorxnor opened 1 year ago

xnorxnor commented 1 year ago

Background

Whenever I click on the "follow" button on a mastodon instance, I get the error message "Error fetching user". The URL looks like this:

https://my.pleroma.instance/ostatus_subscribe?acct=@user@mastodon.instance

When I remove the leading @ everything works and the follow-request is sent after I click "Authorize".

Proposed solution

Add an option to remove the leading @ in front of the username, so that the URL looks like this:

https://my.pleroma.instance/ostatus_subscribe?acct=user@mastodon.instance

Additional context

I am using pleroma.

rugk commented 1 year ago

Okay, so it is likely because you are using Pleroma. In such a case, i would propose to

Because – just to note that – of course Pleroma is not (yet) supported as your home instance, this add-on is called “Mastodon – Simplified Federation“ hinting the main Fedi software I developed it for was Mastodon and I cannot guarantee or test that it works with Pleroma e.g.

That all said, I am very happy you have tried it out and it even (nearly) works. And as I believe in federation and different ActivtiyPup-compatible software solutions I am very happy to get PRs (or even hands aka people) helping to implement (and maintain :eyes:) such a thing.