room id in moderator messages

Post here your suggestions for new possible features in SmartFoxServer.

Moderators: Lapo, Bax

Post Reply
jalava
Posts: 40
Joined: 03 Sep 2007, 12:23

room id in moderator messages

Post by jalava »

could you add the room id of moderator message to the params for SFSEvent.onModeratorMessage?

I can see that you have that in syshandler so is it just a bug that it is omitted from event params?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

The problem is that even if you have the roomId on the client side you won't be able to grab the relative user object unless you're joined in that room (so you have the list of users in that room)

Would you still need that id?
Lapo
--
gotoAndPlay()
...addicted to flash games
jalava
Posts: 40
Joined: 03 Sep 2007, 12:23

Post by jalava »

It's just that public message and private message does send the room id where message did originate, so I though that this was just accidentally left out because the room id does come through in xml.
Post Reply