diff options
| author | rinsuki <428rinsuki+git@gmail.com> | 2018-06-17 15:58:23 +0900 |
|---|---|---|
| committer | rinsuki <428rinsuki+git@gmail.com> | 2018-06-17 15:58:23 +0900 |
| commit | f0fec654ff4c533f16a4f2e9e30d19d102f94a63 (patch) | |
| tree | a63210a9784da7928662f4fb5e2cc467f1941951 /src/remote/activitypub | |
| parent | Merge pull request #1722 from rinsuki/fix/1700 (diff) | |
| download | sharkey-f0fec654ff4c533f16a4f2e9e30d19d102f94a63.tar.gz sharkey-f0fec654ff4c533f16a4f2e9e30d19d102f94a63.tar.bz2 sharkey-f0fec654ff4c533f16a4f2e9e30d19d102f94a63.zip | |
fix #1726
Diffstat (limited to 'src/remote/activitypub')
| -rw-r--r-- | src/remote/activitypub/misc/get-note-html.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/misc/get-note-html.ts b/src/remote/activitypub/misc/get-note-html.ts index 5bca4eed62..33dd381689 100644 --- a/src/remote/activitypub/misc/get-note-html.ts +++ b/src/remote/activitypub/misc/get-note-html.ts @@ -6,7 +6,7 @@ import config from '../../../config'; export default function(note: INote) { if (note.text == null) return null; - let html = toHtml(parse(note.text)); + let html = toHtml(parse(note.text), note.mentionedRemoteUsers); if (note.poll != null) { const url = `${config.url}/notes/${note._id}`; |