MP starts again...

This commit is contained in:
STEINNI
2025-10-06 17:58:12 +00:00
parent 4c325056a8
commit 77c8ad958a
7 changed files with 49 additions and 49 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ export class WssConnexion {
subscribeMandatoryChans(){
let mandaChans = this.accessRights.mustSubscribe(this.userId, this.roles)
for(let rediscnx of this.allRediscnx){
mandaChans = mandaChans.filter(chan => chan.startsWith(rediscnx.redisConfig.chansFilter))
mandaChans = mandaChans.filter(chan => chan.startsWith(rediscnx.redisConfig.chansNamespace))
mandaChans = mandaChans.map(item=>rediscnx.redisConfig.basePrefix+item)
for(var chan of mandaChans){
if(!(chan in rediscnx.subscriptions)) rediscnx.subscriptions[chan] = [];