summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/models/note.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-09-10 02:47:34 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-09-10 02:47:34 +0900
commitba05f236bd9588b2f780d8d3e95117a59891b671 (patch)
treee5cdf5f06849f3931eb65d13ab51c0bae1484d31 /src/remote/activitypub/models/note.ts
parentFix #2321 (diff)
downloadsharkey-ba05f236bd9588b2f780d8d3e95117a59891b671.tar.gz
sharkey-ba05f236bd9588b2f780d8d3e95117a59891b671.tar.bz2
sharkey-ba05f236bd9588b2f780d8d3e95117a59891b671.zip
Resolve #2101
Diffstat (limited to 'src/remote/activitypub/models/note.ts')
-rw-r--r--src/remote/activitypub/models/note.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/models/note.ts b/src/remote/activitypub/models/note.ts
index 97188b44a6..b4afda765a 100644
--- a/src/remote/activitypub/models/note.ts
+++ b/src/remote/activitypub/models/note.ts
@@ -91,7 +91,7 @@ export async function createNote(value: any, resolver?: Resolver, silent = false
const reply = note.inReplyTo ? await resolveNote(note.inReplyTo, resolver) : null;
// テキストのパース
- const text = htmlToMFM(note.content);
+ const text = note._misskey_content ? note._misskey_content : htmlToMFM(note.content);
// ユーザーの情報が古かったらついでに更新しておく
if (actor.updatedAt == null || Date.now() - actor.updatedAt.getTime() > 1000 * 60 * 60 * 24) {