cnxId & [CUID]

This commit is contained in:
STEINNI
2026-06-27 17:28:00 +00:00
parent cf292031fd
commit e7b88726ec
2 changed files with 2 additions and 2 deletions
@@ -1,6 +1,6 @@
[
{
"chan": "system:observer:subscribed[UID]:agents",
"chan": "system:observer:subscribed[CUID]:agents",
"events": [
{
"eventName": "move",
+1 -1
View File
@@ -328,7 +328,7 @@ class MessageBus {
*/
chanMatch(myChan, targetChan) {
targetChan = targetChan.replace(/\[UID\]/g, this.userInfo.uuid)
targetChan = targetChan.replace(/\[CNXID\]/g, this.cnxId)
targetChan = targetChan.replace(/\[CUID\]/g, this.cnxId)
let re = new RegExp('^'+targetChan.replace(/\*/g,'(.+)')+'$','g')
return(myChan.match(re)!=null)
}