Hi,
Inside onUserLeaveRoom event currently we only receive userName, userId and roomId. Since its a client side code and we dont need to interact with server, is there a reason for not sending the complete user object?
In my application, I am performing some action on user leaving which depends on uservariable value. Since the user variable is not available by default with this event, I am thinking of adding this variable to the params
object inside Syshandler.as .
Do you recommend using this approach?
Thanks,
Rohit
Adding custom code in SFS client side API
-
Rohit Sharma
- Posts: 31
- Joined: 05 Nov 2008, 05:27
- Location: Delhi,India
- Contact: