summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authormarihachi <marihachi0620@gmail.com>2021-04-10 17:50:18 +0900
committerGitHub <noreply@github.com>2021-04-10 17:50:18 +0900
commit3a6331693a2c165fa6bb1a377ad7bf471f2b5550 (patch)
tree64f5f0ca0b3d5edd894a310030ff21126104517a /src/services
parentTweak UI (diff)
downloadmisskey-3a6331693a2c165fa6bb1a377ad7bf471f2b5550.tar.gz
misskey-3a6331693a2c165fa6bb1a377ad7bf471f2b5550.tar.bz2
misskey-3a6331693a2c165fa6bb1a377ad7bf471f2b5550.zip
refactor mfm extract (#7434)
* refactor extractCustomEmojisFromMfm() * refactor extract-hashtags * refactor extract-mentions * refactor extract-hashtags * refactor extract-url-from-mfm * refactor extract-mentions
Diffstat (limited to 'src/services')
-rw-r--r--src/services/note/create.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts
index 125285f34a..b9b39d25e4 100644
--- a/src/services/note/create.ts
+++ b/src/services/note/create.ts
@@ -12,9 +12,9 @@ import { updateHashtags } from '../update-hashtag';
import { concat } from '../../prelude/array';
import insertNoteUnread from './unread';
import { registerOrFetchInstanceDoc } from '../register-or-fetch-instance-doc';
-import extractMentions from '@/misc/extract-mentions';
+import { extractMentions } from '@/misc/extract-mentions';
import { extractCustomEmojisFromMfm } from '@/misc/extract-custom-emojis-from-mfm';
-import extractHashtags from '@/misc/extract-hashtags';
+import { extractHashtags } from '@/misc/extract-hashtags';
import { Note, IMentionedRemoteUsers } from '../../models/entities/note';
import { Mutings, Users, NoteWatchings, Notes, Instances, UserProfiles, Antennas, Followings, MutedNotes, Channels, ChannelFollowings } from '../../models';
import { DriveFile } from '../../models/entities/drive-file';