diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-09 22:19:43 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-09 22:19:43 +0900 |
| commit | 5bcce97ff01119dbb6bf07bc953372e03971b4b6 (patch) | |
| tree | c7cede9992450593fa5155af78de7b60127dbc97 | |
| parent | [Client] Fix bug (diff) | |
| download | sharkey-5bcce97ff01119dbb6bf07bc953372e03971b4b6.tar.gz sharkey-5bcce97ff01119dbb6bf07bc953372e03971b4b6.tar.bz2 sharkey-5bcce97ff01119dbb6bf07bc953372e03971b4b6.zip | |
Fix bug
| -rw-r--r-- | src/remote/activitypub/renderer/note.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<any> } // 省略されたメンションのホストを復元する - if (text != null) { + if (text != null && text != '') { text = parseMfm(text).map(x => { if (x.type == 'mention' && x.host == null) { return `${x.content}@${config.host}`; |