strictly use socket.io class based namespaces

This commit is contained in:
Patrick Jentsch
2024-11-07 12:12:42 +01:00
parent d41ebc6efe
commit bd0a9c60f8
11 changed files with 48 additions and 90 deletions

View File

@ -9,7 +9,7 @@ nopaque.resource_lists.TesseractOCRPipelineModelList = class TesseractOCRPipelin
this.userId = listContainerElement.dataset.userId;
if (this.userId === undefined) {return;}
app.subscribeUser(this.userId).then((response) => {
app.socket.on('PATCH', (patch) => {
app.sockets.users.on('patch_user', (patch) => {
if (this.isInitialized) {this.onPatch(patch);}
});
});