cnxId & [CUID]
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user