From 74c2defc10bdd940a4516d9e54b0647b62608906 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 9 Nov 2018 22:19:43 +0900 Subject: [PATCH] Fix bug --- src/remote/activitypub/renderer/note.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote/activitypub/renderer/note.ts b/src/remote/activitypub/renderer/note.ts index 2b834f9d2..ec66fe41f 100644 --- a/src/remote/activitypub/renderer/note.ts +++ b/src/remote/activitypub/renderer/note.ts @@ -96,7 +96,7 @@ export default async function renderNote(note: INote, dive = true): Promise } // 省略されたメンションのホストを復元する - if (text != null) { + if (text != null && text != '') { text = parseMfm(text).map(x => { if (x.type == 'mention' && x.host == null) { return `${x.content}@${config.host}`;