mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 08:20:39 +00:00
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
e8a5b46ac5
commit
66f31db884
@ -15,6 +15,7 @@
|
||||
|
||||
import { Analytics } from '@hcengineering/analytics'
|
||||
import core, {
|
||||
AccountRole,
|
||||
cutObjectArray,
|
||||
generateId,
|
||||
isArchivingMode,
|
||||
@ -1242,9 +1243,11 @@ export class TSessionManager implements SessionManager {
|
||||
|
||||
// We do not need to wait for set-status, just return session to client
|
||||
const _workspace = service.workspace
|
||||
void ctx
|
||||
.with('set-status', {}, (ctx) => this.trySetStatus(ctx, pipeline, service, true, _workspace.workspaceUuid))
|
||||
.catch(() => {})
|
||||
if (helloResponse.account.role !== AccountRole.DocGuest) {
|
||||
void ctx
|
||||
.with('set-status', {}, (ctx) => this.trySetStatus(ctx, pipeline, service, true, _workspace.workspaceUuid))
|
||||
.catch(() => {})
|
||||
}
|
||||
} catch (err: any) {
|
||||
ctx.error('error', { err })
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user