Show user fields (#3590)

This commit is contained in:
MeiMei
2018-12-11 20:18:12 +09:00
committed by syuilo
parent 1d1a373ca8
commit 638d81b66e
7 changed files with 132 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ export default function(html: string): string {
if ((rel && rel.value.match('tag') !== null) || !href || href.value == txt) {
text += txt;
// メンション
} else if (txt.startsWith('@')) {
} else if (txt.startsWith('@') && !rel || !rel.value.match(/^me /)) {
const part = txt.split('@');
if (part.length == 2) {