Page 1 of 1

RemoveBuddyRequest not executing

Posted: 14 Aug 2014, 18:41
by mmilen
Hi,

After updating to the latest Version: 1.3.6 and server to version 2.9.0 stopped firing on the client side RemoveBuddyRequest

I have a call like this
[self.sfsClient send:[RemoveBuddyRequest requestWithBuddyName:playername]];
sfsClient is a connected SmartFox2XClient
player name is a valid name of a buddy

The request never reaches the server. I have a customer handler for it addEventHandler(SFSEventType.BUDDY_REMOVE,Buddy_Remove_EventHandler.class); and it is never called. There is no error on the serve console.

Re: RemoveBuddyRequest not executing

Posted: 15 Aug 2014, 08:28
by Lapo
Are you sure the client that is sending the request is online?
By "online" I don't mean connected and logged in, I am referring to the isOnline property of the Buddy itself. You can be connected but invisible in the system if the isOnline flag is turned off. When you are in that state you can't add/remove buddies.

Thanks

Re: RemoveBuddyRequest not executing

Posted: 15 Aug 2014, 12:55
by mmilen
That did the trick. Thank you for the prompt response.