Annotate

doc/lxmppd_core_rostermanager.txt @ 689:94b043fbaf33

Add child_with_ns() method to stanza elements, and fix child_with_name() to iterate tags rather than all children
author Matthew Wild <mwild1@gmail.com>
date Sun, 11 Jan 2009 06:27:57 +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 -> 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