doc/lxmppd_core_offlinemessages.txt

Tue, 18 Nov 2008 17:52:33 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 18 Nov 2008 17:52:33 +0000
changeset 331
830fd67f9378
parent 23
236375777f8c
permissions
-rw-r--r--

Quite some changes, to:

- Small logging fix for s2smanager
- Send a stream error if an incoming s2s connection is to an unrecognised hostname (fixes #11)
- init_xmlhandlers now takes a table of callbacks (includes changes to net/xmpp*_listener for this)
- Move sending of unavailable presence to where it should be, sessionmanager.destroy_session
- Fix sending of stream errors to wrong connection

lxmppd -> core -> offlinemessages.lua
	requires	"util.datamanager"
	module		"offlinemessage"

function new(user, host, stanza)
	returns a function that stores the offline message it received

This module offers storing of offline messages.

Description:	If the user that is supposed to get the message is not online,
		we store the messages locally as offline messages for later
		processing.

mercurial