server: remove unused function
This commit is contained in:
parent
5f5e642fdc
commit
9ef8c421d9
1 changed files with 0 additions and 11 deletions
|
|
@ -177,15 +177,4 @@ export async function deliverToFollowers(actor: { id: ILocalUser['id']; host: nu
|
|||
manager.addFollowersRecipe();
|
||||
await manager.execute();
|
||||
}
|
||||
|
||||
/**
|
||||
* Deliver activity to user
|
||||
* @param activity Activity
|
||||
* @param to Target user
|
||||
*/
|
||||
export async function deliverToUser(actor: { id: ILocalUser['id']; host: null; }, activity: IActivity, to: IRemoteUser) {
|
||||
const manager = new DeliverManager(actor, activity);
|
||||
manager.addDirectRecipe(to);
|
||||
await manager.execute();
|
||||
}
|
||||
//#endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue