wip
This commit is contained in:
parent
3ef82ccb62
commit
08beb45935
22 changed files with 332 additions and 241 deletions
6
src/remote/activitypub/perform/create/image.ts
Normal file
6
src/remote/activitypub/perform/create/image.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { IRemoteUser } from '../../../../models/user';
|
||||
import { createImage } from '../../objects/image';
|
||||
|
||||
export default async function(actor: IRemoteUser, image): Promise<void> {
|
||||
await createImage(image.url, actor);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue