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 += ' '; 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) { if (props.reply && props.reply.text != null) {
const ast = mfm.parse(props.reply.text); const ast = mfm.parse(props.reply.text);
const otherHost = props.reply.user.host; const otherHost = props.reply.user.host;