Levels should match in presence detector
This commit is contained in:
parent
b073d7fc8a
commit
16c8d0f345
|
@ -444,6 +444,7 @@ PresenceDetector.prototype.presenceExistsFor = function (probeRoute) {
|
||||||
var existingRoute = this.state[k];
|
var existingRoute = this.state[k];
|
||||||
if (probeRoute.isSubscription === !existingRoute.isSubscription
|
if (probeRoute.isSubscription === !existingRoute.isSubscription
|
||||||
&& probeRoute.metaLevel === existingRoute.metaLevel
|
&& probeRoute.metaLevel === existingRoute.metaLevel
|
||||||
|
&& probeRoute.level == existingRoute.level
|
||||||
&& unify(probeRoute.pattern, existingRoute.pattern))
|
&& unify(probeRoute.pattern, existingRoute.pattern))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue