summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/misc
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-04 15:17:52 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-04 15:17:52 +0900
commit54dcc10250cce8bfadf424245252719fea8a3896 (patch)
tree5b0ce62dc2838128d118798f148141c8461ca5e3 /src/remote/activitypub/misc
parent[Client] スマホ/タブレットからでも管理者ページを使える... (diff)
downloadsharkey-54dcc10250cce8bfadf424245252719fea8a3896.tar.gz
sharkey-54dcc10250cce8bfadf424245252719fea8a3896.tar.bz2
sharkey-54dcc10250cce8bfadf424245252719fea8a3896.zip
Fix bug for Mastodon(?)
Diffstat (limited to 'src/remote/activitypub/misc')
-rw-r--r--src/remote/activitypub/misc/get-note-html.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/misc/get-note-html.ts b/src/remote/activitypub/misc/get-note-html.ts
index 0a607bd48c..a159bf902d 100644
--- a/src/remote/activitypub/misc/get-note-html.ts
+++ b/src/remote/activitypub/misc/get-note-html.ts
@@ -4,7 +4,7 @@ import parse from '../../../mfm/parse';
export default function(note: INote) {
let html = toHtml(parse(note.text), note.mentionedRemoteUsers);
- if (html == null) html = '';
+ if (html == null) html = '<p>.</p>';
return html;
}