Implement replies in new chat (#8866)

* Fix replies

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>

* Add workaround to open card in current application

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>

---------

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2025-05-07 13:07:06 +07:00
committed by GitHub
parent ebdb7fc392
commit a6e491edf6
63 changed files with 689 additions and 348 deletions
+7 -1
View File
@@ -69,10 +69,12 @@ import {
FindMessagesParams,
FindNotificationContextParams,
FindNotificationsParams,
FindCollaboratorsParams,
Label,
Message,
MessagesGroup,
NotificationContext
NotificationContext,
Collaborator
} from '@hcengineering/communication-types'
const SECOND = 1000
@@ -935,6 +937,10 @@ class Connection implements ClientConnection {
return await this.sendRequest({ method: 'findNotifications', params: [params, queryId] })
}
async findCollaborators (params: FindCollaboratorsParams): Promise<Collaborator[]> {
return await this.sendRequest({ method: 'findCollaborators', params: [params] })
}
async unsubscribeQuery (id: number): Promise<void> {
await this.sendRequest({ method: 'unsubscribeQuery', params: [id] })
}