mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 12:03:08 +02:00
parent
1eed6911f0
commit
ff81648134
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue