removeuser and leaveroom doesn't work

Post here all your questions related with SmartFoxServer .Net/Unity3D API

Moderators: Lapo, Bax

daqulazhang
Posts: 6
Joined: 21 Sep 2009, 06:48

removeuser and leaveroom doesn't work

Postby daqulazhang » 21 Sep 2009, 07:04

hi,
I used login and joinroom, all OK.
Now I want to leave current room, firstly I used leaveroom, but still the user is still in current room, I saw it from admin tool. So I also used removeuser to get rid of it, but same result.

-daqula
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Postby ThomasLund » 21 Sep 2009, 10:43

Hi

This is by design and not an error. Once a user joins any room he should always stay in at least one

LeaveRoom only works (as documented in the documentation) if a user is allowed to be in multiple rooms at the same time.

To leave a room simply join another. That automagically makes you leave the first room.

Best
Thomas

Return to “.Net / Unity3D API”

Who is online

Users browsing this forum: No registered users and 22 guests