mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-11 21:28:12 +09:00
parent
4799e9f4c4
commit
79e18b8a8e
@ -136,7 +136,7 @@ export function toHtml(tokens: MfmForest | null, mentionedRemoteUsers: IMentione
|
|||||||
default:
|
default:
|
||||||
const remoteUserInfo = mentionedRemoteUsers.find(remoteUser => remoteUser.username === username && remoteUser.host === host);
|
const remoteUserInfo = mentionedRemoteUsers.find(remoteUser => remoteUser.username === username && remoteUser.host === host);
|
||||||
a.href = remoteUserInfo ? remoteUserInfo.uri : `${config.url}/${acct}`;
|
a.href = remoteUserInfo ? remoteUserInfo.uri : `${config.url}/${acct}`;
|
||||||
a.className = 'mention';
|
a.className = 'u-url mention';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
a.textContent = acct;
|
a.textContent = acct;
|
||||||
|
Loading…
Reference in New Issue
Block a user