aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <devnull@localhost>2008-08-24 13:29:01 +0000
committermatthew <devnull@localhost>2008-08-24 13:29:01 +0000
commit86ea5e7911605e1ff7bb1366d8357449a9139897 (patch)
treebd0771fa9c4d3fa3c906dfad4d096f808a3cacf2
parentb7e9b10cced42ad969011b3d906b2c13bd3de20e (diff)
downloadprosody-86ea5e7911605e1ff7bb1366d8357449a9139897.tar.gz
prosody-86ea5e7911605e1ff7bb1366d8357449a9139897.zip
"Shared roster" - well, kind of :)
+ TODO
-rw-r--r--TODO6
-rw-r--r--core/rostermanager.lua9
2 files changed, 14 insertions, 1 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 00000000..82d39c0f
--- /dev/null
+++ b/TODO
@@ -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