doc/lxmppd_core_rostermanager.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 -> rostermanager.lua
	requires	"util.datamanager"
	module		"rostermanager"
	
function log(type, message)
	logs a message of type "rostermanager"

function getroster(username, host)
	Retrieves the user's roster from the server and loads it with the datamanager

mercurial