I'm setting variables for my user.
Code: Select all
NSString *test = @"blah";
NSDictionary *dict = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:test,nil]
[self.smartFox setUserVariables:dict roomId:self.smartFox.activeRoomId];
But it does not fire onUserVariablesUpdate.
Am I setting the variables wrong?
Would the event fire on the same client that I am setting on, or do I have to test it with two clients?
BTW, all rooms have been set up with the config file on the server.