Page 1 of 1

getting strange error in SFS iPhone API

Posted: 19 Oct 2010, 03:48
by rahulvyas
Hello,

I've been using SFS API from last few months. Today I am getting a error something like this "No handlers found for action:leaveRoom" when I was Debugging my application. Could you please tell me which method am I missing? I think the leaveRoom method is "onUserLeaveRoom". I have already implemented this. But I think there is another method so please tell me the exact method/function for iPhone api to remove that error.

Posted: 28 Oct 2010, 12:04
by sasoh
Hello, I've stumbled upon the same problem, the way to fix it is to go to the 109 line of the INFSmartFoxSysHandler.m file and edit the _handlersTable key/value pair from

Code: Select all

@"handleLeaveRoom:", @"leaveRoom:"
to

Code: Select all

@"handleLeaveRoom:", @"leaveRoom",

and your onRoomLeft delegate function will be evoked.

Posted: 25 Feb 2011, 12:36
by rahulvyas
Thanks you very much sasoh