mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 17:53:08 +02:00
wip
This commit is contained in:
parent
e8b42d7e16
commit
5bd1451b61
1 changed files with 3 additions and 13 deletions
|
@ -1,17 +1,7 @@
|
|||
import * as kue from 'kue';
|
||||
|
||||
import Channel from '../../models/channel';
|
||||
import Following from '../../models/following';
|
||||
import ChannelWatching from '../../models/channel-watching';
|
||||
import Post, { pack } from '../../models/post';
|
||||
import User, { isLocalUser } from '../../models/user';
|
||||
import stream, { publishChannelStream } from '../../publishers/stream';
|
||||
import context from '../../remote/activitypub/renderer/context';
|
||||
import renderCreate from '../../remote/activitypub/renderer/create';
|
||||
import renderNote from '../../remote/activitypub/renderer/note';
|
||||
import request from '../../remote/request';
|
||||
import request from '../../../remote/request';
|
||||
|
||||
export default async (job: kue.Job, done): Promise<void> => {
|
||||
|
||||
request(user, following.follower[0].account.inbox, create);
|
||||
}
|
||||
await request(job.data.user, job.data.to, job.data.content);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue