feat(federation): Add more debugging to inbox processing

This commit is contained in:
Jesse Wierzbinski 2024-11-24 22:17:45 +01:00
parent be69407c01
commit c59ebef851
No known key found for this signature in database
2 changed files with 18 additions and 3 deletions

View file

@ -716,7 +716,7 @@ export class User extends BaseInterface<typeof Users, UserWithRelations> {
}
public static async resolve(uri: string): Promise<User | null> {
getLogger("federation").debug`Resolving user ${chalk.bold(uri)}`;
getLogger("federation").debug`Resolving user ${chalk.gray(uri)}`;
// Check if user not already in database
const foundUser = await User.fromSql(eq(Users.uri, uri));