mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
chore: bug fix cleanup (#4)
This commit is contained in:
1 parent
275126d61b
commit
c9c5dceb47
80 files changed
+4639
-3709
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user