### Description On page reload, the RTC feature re-adds the currently logged-in user in the collaboration session, resulting in duplicate user entries. ### Step-by-step reproduction instructions 1. Enable RTC 2. Edit the same post or page 3. Refresh the page ### Screenshots, screen recording, code snippet https://github.com/user-attachments/assets/eeae0d6d-8017-4419-8f2e-badf96b6c5a9 ### Environment info Wordpress 6.9.1 Gutenberg Development setup with all experimental options checked php 8.2.27 ### Please confirm that you have searched existing issues in the repo. - [x] Yes ### Please confirm that you have tested with all plugins deactivated except Gutenberg. - [x] Yes ### Please confirm which theme type you used for testing. - [x] Block - [ ] Classic - [ ] Hybrid (e.g. classic with theme.json) - [ ] Not sure
Description
On page reload, the RTC feature re-adds the currently logged-in user in the collaboration session, resulting in duplicate user entries.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
rtc-multi-user.mp4
Environment info
Wordpress 6.9.1
Gutenberg Development setup with all experimental options checked
php 8.2.27
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.