-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix missing presence events on subscription #419
Conversation
Fix issue because of which presence events not delivered to the `Subscription` and `SubscriptionSet` objects (only global listeners).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
this.channelNames.filter((c) => !c.endsWith('-pnpres')), | ||
this.groupNames.filter((cg) => !cg.endsWith('-pnpres')), | ||
); | ||
this.eventEmitter.addListener(listener, this.channelNames, this.groupNames); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
return new Subscription({ | ||
channels: subscriptionOptions?.receivePresenceEvents ? [this.name, `${this.name}-pnpres`] : [this.name], | ||
channels, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
@pubnub-release-bot release |
🚀 Release successfully completed 🚀 |
fix(event-engine): fix missing presence events on subscription
Fix issue because of which presence events not delivered to the
Subscription
andSubscriptionSet
objects (only global listeners).