Thu, 23 Oct 2008 02:49:43 +0500
Fixed: datamanager.store and datamanager.load could crash when username or host arguments were nil. (useful for server specific and global data).
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. |