1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-03 01:09:01 +09:00

fix(frontend): 返信に投稿フォームが自動的にメンションを追加しないように

This commit is contained in:
NoriDev 2023-09-22 23:23:50 +09:00
parent b128bf9266
commit c1f9510323

View File

@ -279,10 +279,6 @@ if (props.mention) {
text += ' ';
}
if (props.reply && (props.reply.user.username !== $i.username || (props.reply.user.host != null && props.reply.user.host !== host))) {
text = `@${props.reply.user.username}${props.reply.user.host != null ? '@' + toASCII(props.reply.user.host) : ''} `;
}
if (props.reply && props.reply.text != null) {
const ast = mfm.parse(props.reply.text);
const otherHost = props.reply.user.host;