Open crienzo opened 11 years ago
I wonder if we should just use real presence subscriptions? @loopingrange ?
Another thing I noticed is the ahn rayo client will send ping to the rayo domain. So, I can detect the existence of the client. However, I still not know the client's availability and using ping would be hacky.
One possible solution is for the server to send a presence probe for any unknown clients that ping it. I'll experiment with this.
OK - tried sending probe to ejabberd, but that didn't work. For now, I'll just assume the client is online if I get pinged.
This scenario can be handled by a rayo gateway or a modified XMPP server.
In this scenario, a rayo client is connected to its own domain's xmpp server and sends directed presence to the rayo domain. If the rayo server is not running, it will never see this presence notification.