I have two users, and they are with the same node and domain, but with a different resource: one is me@example.com/iphone, and the other one is me@example.com/android. I also write my module(mod_http_offline) to send ios push notification when they are offline. My problem is, only when both of them are offline, I can get the push notification. Now, I want to send the ios push notification only when me@example.com/iphone is offline, no matter whether the other one is online or offline. Any idea about how to do that?
Thanks in advance,
Jason