Links to original posts are broken
When you federate a post with Pleroma, it includes a URL to the original ActivityPub object. e.g.,
- I make a post from feld@bikeshed.party
- Lain sees the post at lain@lain.com
- Lain has the option in PleromaFE of opening a direct link to my post at bikeshed.party, which lets him view the public posts in the thread in case his server is missing any replies or context in the conversation.
- The object URL looks like https://bikeshed.party/objects/c6b4ad2d-34a1-43eb-ba34-ec776eeb29f3
The object URL in question is resolved to https://bikeshed.party/notice/9xaKmDCvPXARB8ZcuG automatically by Pleroma with a 302 redirect. This cannot be opened in FediFE because the direct links to statuses is handled at /status/flakeID
instead of /notice/flakeID
.
A simple redirect of /notice/
to /status/
within FediFE should be sufficient.
Having the FE give hints to the Pleroma backend on how to construct this URL is likely going to be difficult because each user will be able to set their own "default" FE to override the instance default. Sometimes you have accounts on multiple servers, so if Lain also had a registered account on my bikeshed.party server, was logged in, and selected a different default FE it would require the backend to be able to detect the user is logged in, which FE they prefer, and know the correct URL for that FE. I'm not sure we want this level of complexity at this time. Having all FEs understand /notice/flakeID
is probably the path of least resistance.