Page 1 of 1

Room Invite

Posted: 18 Oct 2010, 00:54
by thinknewdev
Is there a way to invite a user to a room?

Posted: 18 Oct 2010, 01:51
by BigFIsh
I don't think there's any in-build method for that. So, in other words - you'll need to create that functionality.

I think you'll need to do something like this:

- Client sends request to server asking to invite this user (by name or id) and the room id using sendXtMessage method
- Server gets user object based on name or id, and forward the invite request to that user
- Receiving client gets the request - choose yes or no as a reply.
- Server carry out the next step based on the reply