diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-09-10 02:47:34 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-09-10 02:47:34 +0900 |
| commit | ba05f236bd9588b2f780d8d3e95117a59891b671 (patch) | |
| tree | e5cdf5f06849f3931eb65d13ab51c0bae1484d31 /src/remote/activitypub/models | |
| parent | Fix #2321 (diff) | |
| download | sharkey-ba05f236bd9588b2f780d8d3e95117a59891b671.tar.gz sharkey-ba05f236bd9588b2f780d8d3e95117a59891b671.tar.bz2 sharkey-ba05f236bd9588b2f780d8d3e95117a59891b671.zip | |
Resolve #2101
Diffstat (limited to 'src/remote/activitypub/models')
| -rw-r--r-- | src/remote/activitypub/models/note.ts | 2 |
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) { |