mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-30 13:35:04 +02:00
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:
@@ -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] })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user