diff options
author | matthew <devnull@localhost> | 2008-08-24 13:29:01 +0000 |
---|---|---|
committer | matthew <devnull@localhost> | 2008-08-24 13:29:01 +0000 |
commit | 86ea5e7911605e1ff7bb1366d8357449a9139897 (patch) | |
tree | bd0771fa9c4d3fa3c906dfad4d096f808a3cacf2 | |
parent | b7e9b10cced42ad969011b3d906b2c13bd3de20e (diff) | |
download | prosody-86ea5e7911605e1ff7bb1366d8357449a9139897.tar.gz prosody-86ea5e7911605e1ff7bb1366d8357449a9139897.zip |
"Shared roster" - well, kind of :)
+ TODO
-rw-r--r-- | TODO | 6 | ||||
-rw-r--r-- | core/rostermanager.lua | 9 |
2 files changed, 14 insertions, 1 deletions
@@ -0,0 +1,6 @@ +- SASL login support +- Roster manipulation support +- S2S \o/ + +Further down the line: +- Clustering diff --git a/core/rostermanager.lua b/core/rostermanager.lua index 7a1e7d4e..b31ca21b 100644 --- a/core/rostermanager.lua +++ b/core/rostermanager.lua @@ -15,5 +15,12 @@ local datamanager = datamanager; module "rostermanager" function getroster(username, host) - return datamanager.load(username, host, "roster") or {}; + return { + ["mattj@localhost"] = true, + ["tobias@getjabber.ath.cx"] = true, + ["waqas@getjabber.ath.cx"] = true, + ["thorns@getjabber.ath.cx"] = true, + ["idw@getjabber.ath.cx"] = true, + } +-- return datamanager.load(username, host, "roster") or {}; end |