-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fediverse handles are parsed as email addresses #82
Comments
This looks as I was imagining mentions in Delta Chat, (mentioning someone by address/id like: @wakest ) but since we currently don't support mentions and it is not clear if we will implement it like that in the end (with multi-address support we will probably will need to use identity pub key as id to mention someone or so) I guess we could disable the linkification in that case for now, but otherwise there is no real difference between an email address and a mastodon handle and the situation will still happen if someone mentions the handle without the @ at the start, on the other hand the linkification is useful for copying the handle to clipboard easily, ex in Android |
Desktop already uses a custom message-parser, so I moved to issue there. Initially I wanted to treat these addresses as fediverse addresses, but after a short discussion with other devs we came to the conclusion, that we might want to use this format ourselves for mentions (and I made a pr for that #49). About MentionsRecently I discussed this again with Holger and we noticed again that for mentions there are more questions, since email addresses won't be static in the future (with AEAP they are already not static, but that feature is experimental and not widely used yet).
Core will keep up with those changes, so locally/in the database we might be able to contact ids, but they are different for everyone, so thats not a solution for the wire/email format. Visually the mentions feature will be type @ and then you get a dropdown/selection with the display names of the group members like in other messengers. But the topic here is about the internal representation (what is actually stored in the database and in the actual email messages). (in discord and other messengers custom emojis and mentions are also represented differently in the UI than what their actual text is - see https://discord.com/blog/how-discord-renders-rich-messages-on-the-android-app) About nowI think for now the best way is to remove linkification from the handles until we decide what to do in the future. |
fediverse handles look like @[email protected] and they are currently being parsed as email addresses (including when being right clicked, the menu says "Copy E-Mail")
The text was updated successfully, but these errors were encountered: