From 5bcce97ff01119dbb6bf07bc953372e03971b4b6 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 2b834f9d28..ec66fe41ff 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}`;