We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When calling presence.track() the join and leave events are firing as well
presence.track()
join
leave
Steps to reproduce the behavior, please provide code snippets or a repository:
const presence = presenceChannel .on('presence', { event: 'sync' }, () => { const state = presenceChannel.presenceState<PresencePlayer>() }) .on( 'presence', { event: 'join' }, ({ key, newPresences }) => { console.log('Player joined:', key, newPresences) }) .on( 'presence', { event: 'leave' }, ({ key, leftPresences }) => { console.log('Player left:', key, leftPresences) } ) } ``` 2. call track `presence.track(updatedPlayer)` 3. The join and leave events fire ## Expected behavior The join and leave events don't fire if there is no new user joining or leaving ## Screenshots ![image](https://github.com/user-attachments/assets/578a4243-8f61-4cde-89a8-ab5ce7f31b66) ## System information - OS: Windows - Browser: chrome - Version of supabase-js: 2.45.4 - Version of Node.js: 20.17.0 ## Additional context
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
Describe the bug
When calling
presence.track()
thejoin
andleave
events are firing as wellTo Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
The text was updated successfully, but these errors were encountered: