Annotate

doc/lxmppd_core_rostermanager.txt @ 1474:6947761fd531

mod_presence: Simplified roster iteration
author Waqas Hussain <waqas20@gmail.com>
date Sun, 05 Jul 2009 12:17:22 +0500
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 -> rostermanager.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 "rostermanager"
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 log(type, message)
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
6 logs a message of type "rostermanager"
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 function getroster(username, host)
236375777f8c Some docs written by Thorns. Need reviewing.
bt@silverblade
parents:
diff changeset
9 Retrieves the user's roster from the server and loads it with the datamanager