Wed, 11 Feb 2009 23:16:14 +0500
Stanza router: Message to bare JID fixes
- headline messages get sent to all non-negative priority available resource
- all other messages get sent to the set of highest non-negative priority available resources
- only messages of type chat and normal or missing type go into offline storage
23 | 1 | lxmppd -> core -> rostermanager.lua |
2 | requires "util.datamanager" | |
3 | module "rostermanager" | |
4 | ||
5 | function log(type, message) | |
6 | logs a message of type "rostermanager" | |
7 | ||
8 | function getroster(username, host) | |
9 | Retrieves the user's roster from the server and loads it with the datamanager |