- end
- -- no resources are online
- local node, host = jid_split(bare);
- if user_exists(node, host) then
- -- TODO apply the default privacy list
- offlinemanager.store(node, host, stanza);
- else
- origin.send(st.error_reply(stanza, "cancel", "service-unavailable"));
+ -- no resources are online
+ local node, host = jid_split(bare);
+ if user_exists(node, host) then
+ -- TODO apply the default privacy list
+ offlinemanager.store(node, host, stanza);
+ else
+ origin.send(st.error_reply(stanza, "cancel", "service-unavailable"));
+ end