diff --git a/apps/meteor/client/lib/VideoConfManager.ts b/apps/meteor/client/lib/VideoConfManager.ts index 8d41129c99e73ede70b6019a31461ac4c0358a47..e987f85ba50fc6a61dc220a7396451b3e19ed402 100644 --- a/apps/meteor/client/lib/VideoConfManager.ts +++ b/apps/meteor/client/lib/VideoConfManager.ts @@ -23,7 +23,7 @@ export type DirectCallParams = { rid: IRoom['_id']; callId: string; - // #ToDo: The attributes below should not be part of DirectCallParams - they are used by local events only, never notification events. + // #TODO: The attributes below should not be part of DirectCallParams - they are used by local events only, never notification events. dismissed?: boolean; acceptTimeout?: ReturnType<typeof setTimeout> | undefined; }; @@ -87,6 +87,7 @@ type VideoConfEvents = { 'capabilities/changed': void; }; + export const VideoConfManager = new (class VideoConfManager extends Emitter<VideoConfEvents> { private userId: string | undefined; diff --git a/apps/meteor/server/services/video-conference/service.ts b/apps/meteor/server/services/video-conference/service.ts index 6604fd1bb7a411bc1eb3b790bd8c25a1aaeabd11..25861fbebf058259fd009c228ebcc4d511e72d27 100644 --- a/apps/meteor/server/services/video-conference/service.ts +++ b/apps/meteor/server/services/video-conference/service.ts @@ -419,7 +419,10 @@ export class VideoConfService extends ServiceClassInternal implements IVideoConf } private notifyVideoConfUpdate(rid: IRoom['_id'], callId: VideoConference['_id']): void { + /* deprecated */ Notifications.notifyRoom(rid, callId); + + Notifications.notifyRoom(rid, 'videoconf', callId); } private async endCall(callId: VideoConference['_id']): Promise<void> {