diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-05 19:29:50 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-05 19:29:50 +0900 |
| commit | 3abe632f0673d5be2527aa49fa63663104681e0b (patch) | |
| tree | c328b4b713d977b2556056cd10e707b73f478d75 /src/remote/activitypub/misc | |
| parent | Refactoring & 設定でTwemojiを使うかどうか切り替えられるよ... (diff) | |
| download | misskey-3abe632f0673d5be2527aa49fa63663104681e0b.tar.gz misskey-3abe632f0673d5be2527aa49fa63663104681e0b.tar.bz2 misskey-3abe632f0673d5be2527aa49fa63663104681e0b.zip | |
Clean up
Diffstat (limited to 'src/remote/activitypub/misc')
| -rw-r--r-- | src/remote/activitypub/misc/get-emoji-names.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/remote/activitypub/misc/get-emoji-names.ts b/src/remote/activitypub/misc/get-emoji-names.ts deleted file mode 100644 index 7dd634a65e..0000000000 --- a/src/remote/activitypub/misc/get-emoji-names.ts +++ /dev/null @@ -1,6 +0,0 @@ -import parse from '../../../mfm/parse'; - -export default function(text: string) { - if (!text) return []; - return parse(text).filter(t => t.type === 'emoji' && t.name).map(t => (t as any).name); -} |