13 local datamanager = datamanager; |
13 local datamanager = datamanager; |
14 |
14 |
15 module "rostermanager" |
15 module "rostermanager" |
16 |
16 |
17 function getroster(username, host) |
17 function getroster(username, host) |
18 return datamanager.load(username, host, "roster") or {}; |
18 return { |
|
19 ["mattj@localhost"] = true, |
|
20 ["tobias@getjabber.ath.cx"] = true, |
|
21 ["waqas@getjabber.ath.cx"] = true, |
|
22 ["thorns@getjabber.ath.cx"] = true, |
|
23 ["idw@getjabber.ath.cx"] = true, |
|
24 } |
|
25 -- return datamanager.load(username, host, "roster") or {}; |
19 end |
26 end |