From 86ea5e7911605e1ff7bb1366d8357449a9139897 Mon Sep 17 00:00:00 2001 From: matthew Date: Sun, 24 Aug 2008 13:29:01 +0000 Subject: [PATCH] "Shared roster" - well, kind of :) + TODO --- TODO | 6 ++++++ core/rostermanager.lua | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 TODO 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 -- 2.30.2