diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2019-06-28 18:54:10 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-06-28 18:54:09 +0900 |
| commit | 0141affe056e2b7103f67088f6f5bdb276c8d5d3 (patch) | |
| tree | c66cb7597f43a749d24b48ee0b552133ec000b38 /src/remote/activitypub/kernel/create/image.ts | |
| parent | Use as const (diff) | |
| download | sharkey-0141affe056e2b7103f67088f6f5bdb276c8d5d3.tar.gz sharkey-0141affe056e2b7103f67088f6f5bdb276c8d5d3.tar.bz2 sharkey-0141affe056e2b7103f67088f6f5bdb276c8d5d3.zip | |
Fix: AP object / actor type (#5086)
* attributedToがArrayの場合などに対応
* attachment以外で来るDocument系のObjectに対応
* Renote, Reply 対応
* 表示をいい感じに
* fix type
* revert as const
* Fix Note / Question type
* attributedToのtypeで複合配列を想定する
Diffstat (limited to 'src/remote/activitypub/kernel/create/image.ts')
| -rw-r--r-- | src/remote/activitypub/kernel/create/image.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/remote/activitypub/kernel/create/image.ts b/src/remote/activitypub/kernel/create/image.ts deleted file mode 100644 index 7720e8f1bd..0000000000 --- a/src/remote/activitypub/kernel/create/image.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { IRemoteUser } from '../../../../models/entities/user'; -import { createImage } from '../../models/image'; - -export default async function(actor: IRemoteUser, image: any): Promise<void> { - await createImage(image.url, actor); -} |