summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/misc
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-04-26 11:48:09 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-04-26 11:48:09 +0900
commit69975c2fdd1cfa12d86eb51ce0769f17ffd826a5 (patch)
tree5e4ffecaec7d525c4ed6500c181f415e1b7efee4 /src/remote/activitypub/misc
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadsharkey-69975c2fdd1cfa12d86eb51ce0769f17ffd826a5.tar.gz
sharkey-69975c2fdd1cfa12d86eb51ce0769f17ffd826a5.tar.bz2
sharkey-69975c2fdd1cfa12d86eb51ce0769f17ffd826a5.zip
chore: Use kebab-case for file names
Diffstat (limited to 'src/remote/activitypub/misc')
-rw-r--r--src/remote/activitypub/misc/get-note-html.ts2
-rw-r--r--src/remote/activitypub/misc/html-to-mfm.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/remote/activitypub/misc/get-note-html.ts b/src/remote/activitypub/misc/get-note-html.ts
index dba915fee9..6990a4ae5e 100644
--- a/src/remote/activitypub/misc/get-note-html.ts
+++ b/src/remote/activitypub/misc/get-note-html.ts
@@ -1,5 +1,5 @@
import { Note } from '../../../models/entities/note';
-import { toHtml } from '../../../mfm/toHtml';
+import { toHtml } from '../../../mfm/to-html';
import { parse } from '../../../mfm/parse';
export default function(note: Note) {
diff --git a/src/remote/activitypub/misc/html-to-mfm.ts b/src/remote/activitypub/misc/html-to-mfm.ts
index 5d3cf0b774..5cca04df21 100644
--- a/src/remote/activitypub/misc/html-to-mfm.ts
+++ b/src/remote/activitypub/misc/html-to-mfm.ts
@@ -1,6 +1,6 @@
import { IObject } from '../type';
import { extractApHashtagObjects } from '../models/tag';
-import { fromHtml } from '../../../mfm/fromHtml';
+import { fromHtml } from '../../../mfm/from-html';
export function htmlToMfm(html: string, tag?: IObject | IObject[]) {
const hashtagNames = extractApHashtagObjects(tag).map(x => x.name).filter((x): x is string => x != null);