OnPublicMessage different rooms
Posted: 28 Aug 2011, 18:30
Hello All!
Quick question. Using SFS 1.5.5 and the API 1.2.6 I am in RoomID 1 and I want to send a PublicMessage to everyone who is in RoomID2. Both rooms exist and have people in it. I am calling:
smartFoxClient.SendPublicMessage("Hello Everyone", 2);
The OnPublicMessage Event doesn't fire. I am wondering a couple of things because the OnPublicMessage works if I send it to RoomID (which defaults to the activeRoomId) 1 such as:
smartFoxClient.SendPublicMessage("Hello Everyone");
Do you have to be logged into RoomID 2 for this to work? If so, how to I multi-join two rooms at the same time?
Else, do you have any other suggestions I need to look into?
Thanks!
Quick question. Using SFS 1.5.5 and the API 1.2.6 I am in RoomID 1 and I want to send a PublicMessage to everyone who is in RoomID2. Both rooms exist and have people in it. I am calling:
smartFoxClient.SendPublicMessage("Hello Everyone", 2);
The OnPublicMessage Event doesn't fire. I am wondering a couple of things because the OnPublicMessage works if I send it to RoomID (which defaults to the activeRoomId) 1 such as:
smartFoxClient.SendPublicMessage("Hello Everyone");
Do you have to be logged into RoomID 2 for this to work? If so, how to I multi-join two rooms at the same time?
Else, do you have any other suggestions I need to look into?
Thanks!