- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Chris,
As you figured out, you dont have to subscribe to the UserManager. The ConnectSession creates and subscribes it for you. I did a bit of digging and figured that due to multiple subscribes of the UserManager it goes out of sync at the time you create your custom user field. I am sure you wont hit the error if you use a new user manager(provide it a new connect session) instead of using the session's user manager.
As for your question about what does subscribe do, it creates a collection node internally and subscribes to it.The collection node stores a roster of all the users and their details and fires necessary events as users change their roles or exit the room.
Thanks
Arun