Hi,

So I have my application working fine, but I have a bit of trouble
with the userjoin event , I am using Ape session when I login Ape
server send the users connected with usejoin event, that to build the
user list..

Now what happen is that use that event to pass a user join text to all
connected users, but when I login I get the messages as the amount of
user in the chat,

how can I determine when I am receiving not only one user object but
all the user connected?...

I've somehow eliminated to tell myself that I logged in like this

this.core.user.properties.name != user.properties.name

If I check the user.length its undefined because I am checking an
object..

if I had the length propertie I could just test

if(user.length == 1) joinedUser();

That way I know is only user that is joining and not all of them
because I refreshed the page or I joined the chat.. and I am getting
all user at once..

Hope you understand what I mean.

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to