Tue, 18 Nov 2008 17:52:33 +0000
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
23 | 1 | lxmppd -> core -> offlinemessages.lua |
2 | requires "util.datamanager" | |
3 | module "offlinemessage" | |
4 | ||
5 | function new(user, host, stanza) | |
6 | returns a function that stores the offline message it received | |
7 | ||
8 | This module offers storing of offline messages. | |
9 | ||
10 | Description: If the user that is supposed to get the message is not online, | |
11 | we store the messages locally as offline messages for later | |
12 | processing. |