handle packets addressed to existing but offline users More...
#include "jsm.h"Functions | |
| void | js_offline_main (void *arg) |
handle packets addressed to existing but offline users
| void js_offline_main | ( | void * | arg | ) |
function that handles packets that are sent to a valid user account, that has no online session
First try if one of the e_OFFLINE modules handles the packet, if not it is bounced as recipient-unavailable
| arg | the jpq_struct for this packet (contains the session manager instance data and the packet) |
References jpacket_struct::aux1, e_FILTER_IN, e_OFFLINE, jpacket_struct::flag, udata_struct::id, jid_full(), js_bounce_xmpp(), js_mapi_call(), log_debug2, LOGT_DELIVER, jpq_struct::p, PACKET_PASS_FILTERS_MAGIC, udata_struct::ref, jpq_struct::si, jpacket_struct::x, xmlnode_serialize_string(), XTERROR_RECIPIENTUNAVAIL, and ZONE.
1.6.3