1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-12 05:38:12 +09:00
This commit is contained in:
MeiMei 2019-11-01 05:39:00 +09:00 committed by syuilo
parent 1eed6911f0
commit ff81648134

View File

@ -136,7 +136,7 @@ export function toHtml(tokens: MfmForest | null, mentionedRemoteUsers: IMentione
default:
const remoteUserInfo = mentionedRemoteUsers.find(remoteUser => remoteUser.username === username && remoteUser.host === host);
a.href = remoteUserInfo ? remoteUserInfo.uri : `${config.url}/${acct}`;
a.className = 'mention';
a.className = 'u-url mention';
break;
}
a.textContent = acct;