Sounds like you really only want to send the User Online/Offline/etc to those people subscribed to that user. Maybe rooms would work?? How bout this?
1. When a user logs in to the system join them to all their "friend" rooms?
2. Then broadcast an event to that particular user's room and all their "friends" will see it.
3. Broadcast whatever other messages to that room that you want.
Does that work?
- Brian
--
Regards,
Brian Gruber
Real time visitor analytics, chat, heatmaps & polls.