From 7c9d1c63524fa69c4a086677d44db82d2c509193 Mon Sep 17 00:00:00 2001 From: Gustavo Trott Date: Fri, 2 Feb 2024 11:00:18 -0300 Subject: [PATCH] Fix multi-user whiteboard not working --- bbb-graphql-actions/src/actions/presAnnotationDelete.ts | 3 --- bbb-graphql-actions/src/actions/presAnnotationDeleteAll.ts | 3 --- bbb-graphql-actions/src/actions/presAnnotationSubmit.ts | 2 -- 3 files changed, 8 deletions(-) diff --git a/bbb-graphql-actions/src/actions/presAnnotationDelete.ts b/bbb-graphql-actions/src/actions/presAnnotationDelete.ts index 68fce2006b..69a1f13ba9 100644 --- a/bbb-graphql-actions/src/actions/presAnnotationDelete.ts +++ b/bbb-graphql-actions/src/actions/presAnnotationDelete.ts @@ -1,9 +1,6 @@ import { RedisMessage } from '../types'; -import { ValidationError } from '../types/ValidationError'; -import {throwErrorIfNotPresenter} from "../imports/validation"; export default function buildRedisMessage(sessionVariables: Record, input: Record): RedisMessage { - throwErrorIfNotPresenter(sessionVariables); const eventName = `DeleteWhiteboardAnnotationsPubMsg`; const routing = { diff --git a/bbb-graphql-actions/src/actions/presAnnotationDeleteAll.ts b/bbb-graphql-actions/src/actions/presAnnotationDeleteAll.ts index a969d6efc7..6d26a6b160 100644 --- a/bbb-graphql-actions/src/actions/presAnnotationDeleteAll.ts +++ b/bbb-graphql-actions/src/actions/presAnnotationDeleteAll.ts @@ -1,9 +1,6 @@ import { RedisMessage } from '../types'; -import { ValidationError } from '../types/ValidationError'; -import {throwErrorIfNotPresenter} from "../imports/validation"; export default function buildRedisMessage(sessionVariables: Record, input: Record): RedisMessage { - throwErrorIfNotPresenter(sessionVariables); const eventName = `DeleteWhiteboardAnnotationsPubMsg`; const routing = { diff --git a/bbb-graphql-actions/src/actions/presAnnotationSubmit.ts b/bbb-graphql-actions/src/actions/presAnnotationSubmit.ts index a9129c93ae..e79efe26c7 100644 --- a/bbb-graphql-actions/src/actions/presAnnotationSubmit.ts +++ b/bbb-graphql-actions/src/actions/presAnnotationSubmit.ts @@ -1,9 +1,7 @@ import { RedisMessage } from '../types'; import { ValidationError } from '../types/ValidationError'; -import {throwErrorIfNotPresenter} from "../imports/validation"; export default function buildRedisMessage(sessionVariables: Record, input: Record): RedisMessage { - throwErrorIfNotPresenter(sessionVariables); const eventName = `SendWhiteboardAnnotationsPubMsg`; const routing = {