Editing correction (in progress)
This commit is contained in:
@@ -62,6 +62,10 @@ export class ConversationsController {
|
||||
@CurrentUser() user: { userId: string; organizationId: string; role: string },
|
||||
@Query('externalRoomId') externalRoomId: string,
|
||||
) {
|
||||
// بدون roomId → همه اتاقهای سازمان (لیست گفتگو)
|
||||
if (!externalRoomId?.trim()) {
|
||||
return this.conversations.listTypingAll(user.userId, user.organizationId, user.role);
|
||||
}
|
||||
return this.conversations.listTyping(
|
||||
user.userId,
|
||||
user.organizationId,
|
||||
|
||||
Reference in New Issue
Block a user