diff options
Diffstat (limited to 'src/remote/activitypub/misc/get-note-html.ts')
| -rw-r--r-- | src/remote/activitypub/misc/get-note-html.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/remote/activitypub/misc/get-note-html.ts b/src/remote/activitypub/misc/get-note-html.ts index 8df440930b..f92e91c34e 100644 --- a/src/remote/activitypub/misc/get-note-html.ts +++ b/src/remote/activitypub/misc/get-note-html.ts @@ -4,9 +4,8 @@ import parse from '../../../mfm/parse'; import config from '../../../config'; export default function(note: INote) { - if (note.text == null) return null; - let html = toHtml(parse(note.text), note.mentionedRemoteUsers); + if (html == null) html = ''; if (note.poll != null) { const url = `${config.url}/notes/${note._id}`; |