mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-22 12:03:39 +00:00
Distribute posts from remote
This commit is contained in:
@@ -2,5 +2,5 @@ import User from '../../models/user';
|
||||
import act from '../../remote/activitypub/act';
|
||||
|
||||
export default ({ data }, done) => User.findOne({ _id: data.actor })
|
||||
.then(actor => act(actor, data.outbox))
|
||||
.then(actor => act(actor, data.outbox, data.distribute))
|
||||
.then(() => done(), done);
|
||||
|
||||
Reference in New Issue
Block a user