Annotate

doc/lxmppd_core_offlinemessages.txt @ 302:8aedb3766ec7

You can never have too many tests
author Matthew Wild <mwild1@gmail.com>
date Sat, 15 Nov 2008 23:14:32 +0000
parent 23:236375777f8c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
1 lxmppd -> core -> offlinemessages.lua
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
2 requires "util.datamanager"
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
3 module "offlinemessage"
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
4
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
5 function new(user, host, stanza)
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
6 returns a function that stores the offline message it received
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
7
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
8 This module offers storing of offline messages.
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
9
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
10 Description: If the user that is supposed to get the message is not online,
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
11 we store the messages locally as offline messages for later
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
12 processing.