File

doc/lxmppd_core_offlinemessages.txt @ 191:e64c8a44060f

Fix s2s once and for all - Moved dialback to the new mod_dialback (mostly). - Modules can now supply a list of origins to handle to add_handler - Modules can now handle and process any stanza, overriding the core - Modules handle non-jabber:client/jabber:server xmlns'd stanzas
author Matthew Wild <mwild1@gmail.com>
date Sat, 01 Nov 2008 21:07:14 +0000
parent 23:236375777f8c
line wrap: on
line source

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.