refactor(federation): ♻️ More federation logic cleanup

This commit is contained in:
Jesse Wierzbinski 2024-12-09 15:01:19 +01:00
parent 83399ba5f1
commit 0ae9cfe26c
No known key found for this signature in database
10 changed files with 124 additions and 133 deletions

View file

@ -333,7 +333,7 @@ export class InboxProcessor {
languages: [],
});
await followee.createNotification(
await followee.notify(
followee.data.isLocked ? "follow_request" : "follow",
author,
);