summaryrefslogtreecommitdiff
path: root/src/remote
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote')
-rw-r--r--src/remote/activitypub/renderer/note.ts2
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}`;