Sat, 04 Oct 2008 02:12:54 +0100
Add "uuid" library and make sessionmanager use this.
...and yes, the uuid generation needs work :P
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. |