Reputation: 1437
Situation:
There are two users, user1 sends message to user2. I would like to use APE to notify user2 that there's a message from user1.
I've already made to show the notification but both users received the notification. My question will be, What should I do that only user2 will receive the notification?
Is there something I need to change in the channels?
Please advice.
Thanks.
Upvotes: 2
Views: 1619
Reputation: 1373
It seems that you need a comet implementation.
Here you can find more information about it. Simple comet example using php and jquery
and here you can find an example that I've already done and works well! http://www.zeitoun.net/articles/comet_and_php/start
Upvotes: 2