Skip to content
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 issue with presence events #448

Merged
merged 4 commits into from
Mar 31, 2025
Merged

Fix issue with presence events #448

merged 4 commits into from
Mar 31, 2025

Conversation

parfeon
Copy link
Contributor

@parfeon parfeon commented Mar 29, 2025

fix(subscription-loop): fix issue with presence events

Fix missing heartbeat and leave REST API calls when the event engine is enabled and presenceTimeout or heartbeatInterval not set.

parfeon added 2 commits March 30, 2025 01:04
Fix missing `heartbeat` and `leave` REST API calls when the event engine is enabled and
`presenceTimeout` or `heartbeatInterval` not set.
@parfeon parfeon added status: done This issue is considered resolved. priority: medium This PR should be reviewed after all high priority PRs. type: fix This PR contains fixes to existing features. labels Mar 29, 2025
@parfeon parfeon self-assigned this Mar 29, 2025
if (process.env.PRESENCE_MODULE !== 'disabled') {
if (this.presenceEventEngine) this.presenceEventEngine.join(parameters);
else {
this.heartbeat(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻 presence service is intended to be reason for join

@parfeon
Copy link
Contributor Author

parfeon commented Mar 31, 2025

@pubnub-release-bot release

@parfeon parfeon merged commit f1397e8 into master Mar 31, 2025
6 of 7 checks passed
@parfeon parfeon deleted the fix/ee-presence-not-sent branch March 31, 2025 16:31
@pubnub-release-bot
Copy link
Contributor

🚀 Release successfully completed 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium This PR should be reviewed after all high priority PRs. status: done This issue is considered resolved. type: fix This PR contains fixes to existing features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants