Room Invite
-
thinknewdev
- Posts: 7
- Joined: 19 Sep 2010, 03:00
Room Invite
Is there a way to invite a user to a room?
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
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
Smartfox's forum is my daily newspaper.