Open Florrr opened 4 years ago
I just noticed that you are using this.channelPath + this.userName as the f-value for messages: https://github.com/xirsys/xirsys-examples-v3/blob/d715dc1c993069c5366940de524a3aef73ab08c7/app/public/lib/xirsys-signal.js#L212 But that did not work for us when the channelPath is non-empty.
this.channelPath + this.userName
f
The problem with this is, that the receiver does not recognize the leading channel since there is no trailing slash ("/"): https://github.com/xirsys/xirsys-examples-v3/blob/d715dc1c993069c5366940de524a3aef73ab08c7/app/public/lib/xirsys-signal.js#L167
Therefore I've change the f-value to this.channelPath + "/" + this.userName
this.channelPath + "/" + this.userName
Am I doing something wrong, or is this a bug in your library?
I just noticed that you are using
this.channelPath + this.userName
as thef
-value for messages: https://github.com/xirsys/xirsys-examples-v3/blob/d715dc1c993069c5366940de524a3aef73ab08c7/app/public/lib/xirsys-signal.js#L212 But that did not work for us when the channelPath is non-empty.The problem with this is, that the receiver does not recognize the leading channel since there is no trailing slash ("/"): https://github.com/xirsys/xirsys-examples-v3/blob/d715dc1c993069c5366940de524a3aef73ab08c7/app/public/lib/xirsys-signal.js#L167
Therefore I've change the
f
-value tothis.channelPath + "/" + this.userName
Am I doing something wrong, or is this a bug in your library?