Recognize @name@server as Mastodon handle instead of as email

Commercial social networks use the @-handle to indicate in texts. Are there any handles using @name@server except Mastodon?

Expected behavior

If a user clicks on a @name@server handle in the chat a mastodon client will be opened.

Actual behavior

If a user clicks on a @name@server handle in the chat a only name@server will be recognized email dialog pops up.

However, it would be good not to recognize @name@server as email.

1 Like

For this, it would be beneficial for the autolinker to be the same across platforms:

Also, by “Mastodon”, you are referring to the acct: URI scheme as supported by all major Fediverse servers along with a few odd contenders such as twtxt.

There was an MR for this in DC Desktop.

Was closed as not planned.

2 Likes

I would like to offer a more accurate summary of the GitHub discussion:

In my understanding the expected behavior is do not linkify, display as text - Simon-Laux

I second that linkifying an @-mention as a stray character followed by a non-working email address must be considered a bug. It is very confusing from a UX perspective to all users and there is no case where it would be considered a desired outcome to generate a clickable widget for something that is expected to produce an error message.

As mentioned on the forums earlier, future serialization of Delta Chat user mentions must necessarily involve the key fingerprint of said user, not any one of their current relay address. I.e., proposed DC mentions won’t collide with this fix as they won’t include an email address, other than optionally within an OPENPGP4PFR or i.delta.chat URI.

1 Like