misskey icon indicating copy to clipboard operation
misskey copied to clipboard

Mentioning an account with dot in username doesn't work

Open tastytea opened this issue 3 years ago • 1 comments

💡 Summary

I was trying to mention @[email protected], but it generated a mention for @[email protected]

🥰 Expected Behavior

Mentions do not stop at dots in usernames.

🤬 Actual Behavior

screenshot

📌 Environment

Misskey version: 12.117.1 Your OS: Gentoo Linux Your browser: Firefox 91.11.0esr

tastytea avatar Jul 27 '22 11:07 tastytea

Related to https://github.com/misskey-dev/misskey/issues/8503#issuecomment-1102543051

acid-chicken avatar Jul 27 '22 11:07 acid-chicken

Came across this issue while looking into Bridgy Fed. It uses the domain name as the user name by default (e.g. @[email protected]), so it is difficult to interact with accounts on that service from Misskey.

osak avatar Aug 06 '23 10:08 osak

🔥

tamaina avatar Mar 22 '24 00:03 tamaina

mfm.jsの問題?

tamaina avatar Mar 22 '24 00:03 tamaina

mfm.jsの仕様ですね。 https://github.com/misskey-dev/mfm.js/blob/develop/docs/syntax.md#mention

1文字以上。
A~Z 0~9 _ -が含められる。
1文字目と最後の文字は-にできない。

とのこと。

samunohito avatar Mar 22 '24 00:03 samunohito