cnxId & [CUID]

This commit is contained in:
STEINNI committed 2026-06-27 17:28:00 +00:00
1 parent cf292031fd
commit e7b88726ec
2 files changed
+2 -2

No files matched your search

+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)
}