getting strange error in SFS iPhone API

Post here all your questions related with the SmartFoxServer iPhone API

Moderators: Lapo, Bax

Post Reply
rahulvyas
Posts: 19
Joined: 05 Jul 2010, 05:23
Location: Jaipur,Rajasthan
Contact:

getting strange error in SFS iPhone API

Post 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.
Thanks & Regards,
Rahul Vyas,
iPhone Developer.
sasoh
Posts: 1
Joined: 28 Oct 2010, 11:54

Post 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.
rahulvyas
Posts: 19
Joined: 05 Jul 2010, 05:23
Location: Jaipur,Rajasthan
Contact:

Post by rahulvyas »

Thanks you very much sasoh
Thanks & Regards,
Rahul Vyas,
iPhone Developer.
Post Reply