Skip to content

AT => AP: translate @-mentions in profile bio #2676

Description

@c960657

When a Bluesky profile description contains an account handle, it is automatically converted into a link to the account's profile page.

But when bridged to the Fediverse, the handles are not converted to their bridged counterparts (if they exists), so the automatic link conversion in Mastodon gives weird results.

Profile on Bluesky

https://bsky.app/profile/lex.aggemam.dk

Note that @aggemam.dk and @snl.aggemam.dk are displayed as links to the corresponding profile pages.

Image

Profile on Mastodon

https://mastodon.social/@lex.aggemam.dk@bsky.brid.gy

Note that @aggemam.dk is displayed as plain text, and @snl.aggemam.dk is displayed “@​snl.” in plain-text followed by “aggemam.dk” which links to http://aggemam.dk. Both accounts are bridged, so I would expect them to be converted into links to @aggemam.dk@bsky.brid.gy and @snl.aggemam.dk@bsky.brid.gy, respectively.

If an account is not bridged, I suggest inserting e.g. a zero-width space after the @ to bypass the Mastodon handle auto-linker.

Image

This is the like #1986 but in the opposite direction.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeatures and feature requests that are specific to Bridgy Fed, not fully described by the protocols.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions