[ejabberd] Modify presence probe response for offline clients

Evgeniy Khramtsov xramtsov at gmail.com
Mon Dec 15 18:24:11 MSK 2008

Gabriel Rossetti wrote:

>   3.  Else, if the contact has no available resources, the server MUST
>       either (1) reply to the presence probe by sending to the user the
>       full XML of the last presence stanza of type "unavailable"
>       received by the server from the contact, or (2) not reply at all.
> and I'd like ejabberd to use method (1) instead of method (2).

You can use jabber:iq:last (XEP-0012) if you want to know last user's 

Evgeniy Khramtsov, ProcessOne.
xmpp:xram at jabber.ru.

More information about the ejabberd mailing list