Editing correction (in progress)

This commit is contained in:
2026-09-30 13:01:42 +03:30
parent 3c0ed3369e
commit c7a60c524d
4 changed files with 135 additions and 23 deletions
@@ -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,