Changeset

3:f674eb704134

"Shared roster" - well, kind of :) + TODO
author matthew
date Sun, 24 Aug 2008 13:29:01 +0000
parents 2:9bb397205f26
children 4:09c3845ed442
files TODO core/rostermanager.lua
diffstat 2 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TODO	Sun Aug 24 13:29:01 2008 +0000
@@ -0,0 +1,6 @@
+- SASL login support
+- Roster manipulation support
+- S2S \o/
+
+Further down the line:
+- Clustering
--- a/core/rostermanager.lua	Sun Aug 24 04:34:01 2008 +0000
+++ b/core/rostermanager.lua	Sun Aug 24 13:29:01 2008 +0000
@@ -15,5 +15,12 @@
 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