URL for a bluesky account bridged to the fediverse #1529
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
hi hello
This is mostly a proposal made as a pull request because I don't know the source code of bridgy-fed or the protocols much, and because I couldn't make a Cloud SDK account to modify and run the tests sowwy. So there's probably things to change.
I've seen that for the message
@[email protected] is already bridged into the fediverse.
(that I received on fedi about a bluesky profile), the user wasn't a link. That made me sad so I tried to modify that.I added ActivityPub.bridged_web_url_for() that works for any BlueSky account and returns a url like
https://bsky.brid.gy/r/https://bsky.app/profile/blueskyuser.bsky.social
. That's the type of url I get if I post something mentioning a bsky.brid.gy account from the fediverse.The code I added is way smaller than this description
thanks :))