Page 1 of 2
SFSRoom objects are missing information
Posted: 26 Sep 2013, 10:11
by daveatscreach
When inspecting any returned SFSRoom object the userCount property returns the correct value but the userList returns an empty array. I guess this is why the isJoined property also returns NO and the method getUserByName always returns nil.
Re: SFSRoom objects are missing information
Posted: 26 Sep 2013, 13:12
by Bax
You must join the Room before those informations are available.
Re: SFSRoom objects are missing information
Posted: 26 Sep 2013, 15:48
by daveatscreach
I have joined the room. i can send messages to it without receiving [SFS WARN] You are not joined in the target Room.
Re: SFSRoom objects are missing information
Posted: 26 Sep 2013, 15:49
by daveatscreach
i should say I'm inspecting room objects that are returned in delegate method event params.
Re: SFSRoom objects are missing information
Posted: 26 Sep 2013, 16:13
by Lapo
What is the version of the API.
Try printing the version property of the main SFS object.
Maybe you are using and old version. I don't think we have ever seen a problem like this, nor it's ever been reported. Take in consideration that all our iOS examples work by correctly displaying the room list, so it might be something else.
let us know.
Re: SFSRoom objects are missing information
Posted: 26 Sep 2013, 16:16
by daveatscreach
v1.1.8
Re: SFSRoom objects are missing information
Posted: 01 Oct 2013, 13:12
by Lapo
We're currently working on a major update to make the API pure ARC.
As soon as we're finished we'll go through some of the bug reports including yours.
Meanwhile can you explain how this should work in details?
How many rooms are you joining at once and which of the joined rooms doesn't seem to report the correct data?
Can you give us a step by step description of your steps?
Thanks
Re: SFSRoom objects are missing information
Posted: 01 Oct 2013, 13:25
by daveatscreach
I'm currently putting together a couple of test projects for you to outline the problems i am seeing. I will email over when complete.
Re: SFSRoom objects are missing information
Posted: 01 Oct 2013, 13:39
by Lapo
thanks
Re: SFSRoom objects are missing information
Posted: 31 Mar 2014, 09:05
by daveatscreach
Hi Lapo.
Did you receive the example project? Have you made any progress with this?
Re: SFSRoom objects are missing information
Posted: 31 Mar 2014, 11:04
by Lapo
Hi,
since we're talking about something that was posted 6 months ago I am not sure. Sorry.
Which email did you send it from?
Re: SFSRoom objects are missing information
Posted: 31 Mar 2014, 11:08
by daveatscreach
I will private message you my email
Re: SFSRoom objects are missing information
Posted: 31 Mar 2014, 11:08
by Lapo
Additional note: we have updated the API since then. Have you tested with the latest release?
I think the problem has been addressed.
http://www.smartfoxserver.com/download/sfs2x#p=client
Re: SFSRoom objects are missing information
Posted: 31 Mar 2014, 11:16
by daveatscreach
I may have been a bit dumb and had a old version in my project while thinking i had the project pointing to the latest version of the SDK.
I will test and report back. Thanks for the quick response
Re: SFSRoom objects are missing information
Posted: 31 Mar 2014, 11:26
by daveatscreach
Everything looks fixed. Thanks for this