feat: Allow both users and agents to initiate conversations and dynamically display the other party based on the caller's role, while also enhancing user profile data in connection requests.

This commit is contained in:
pradeepkumar
2026-03-15 00:28:14 +05:30
parent 2c0d0f0aeb
commit 960cdd8d48
4 changed files with 120 additions and 89 deletions

View File

@@ -203,6 +203,13 @@ export class ConnectionRequestsService {
id: true,
email: true,
avatar: true,
userProfile: {
select: {
firstName: true,
lastName: true,
avatar: true,
},
},
},
},
},