chore: bug fix cleanup (#4)

This commit is contained in:
hampus-fluxer authored and GitHub committed 2026-01-03 06:44:40 +01:00
1 parent 275126d61b
commit c9c5dceb47
80 files changed
+4639 -3709

No files matched your search

+15 -1
View File
@@ -361,7 +361,21 @@ export class UserService {
userCacheService: UserCacheService;
requestCache: RequestCache;
}): Promise<Relationship> {
return await this.relationshipService.acceptFriendRequest({userId, targetId, userCacheService, requestCache});
const relationship = await this.relationshipService.acceptFriendRequest({
userId,
targetId,
userCacheService,
requestCache,
});
await this.channelService.ensureDmOpenForBothUsers({
userId,
recipientId: targetId,
userCacheService,
requestCache,
});
return relationship;
}
async blockUser({