server: remove unused function

This commit is contained in:
Johann150 2026-02-28 10:15:14 +01:00
commit 9ef8c421d9
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 9EE6577A2A06F8F1

View file

@ -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