Implement remote status retrieval
This commit is contained in:
parent
7da60a0147
commit
68a9aac957
46 changed files with 468 additions and 198 deletions
6
src/processor/http/perform-activitypub.ts
Normal file
6
src/processor/http/perform-activitypub.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import User from '../../models/user';
|
||||
import act from '../../common/remote/activitypub/act';
|
||||
|
||||
export default ({ data }, done) => User.findOne({ _id: data.actor })
|
||||
.then(actor => act(actor, data.outbox))
|
||||
.then(() => done(), done);
|
||||
Loading…
Add table
Add a link
Reference in a new issue