diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-10-12 17:40:03 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-10-12 17:40:03 +0500 |
commit | 957fe047e2da04dd1fc05aacaa119d4ae1944e39 (patch) | |
tree | 1bfebc7063c3b00c226e6ff9f30dc8ef8792ffbf /core/sessionmanager.lua | |
parent | 36df1aac32d6530fdaec7fcaa5f80c8d48599aba (diff) | |
download | prosody-957fe047e2da04dd1fc05aacaa119d4ae1944e39.tar.gz prosody-957fe047e2da04dd1fc05aacaa119d4ae1944e39.zip |
Added some roster management functions
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r-- | core/sessionmanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 4f8b1913..c216b8da 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -12,7 +12,7 @@ local modulemanager = require "core.modulemanager"; local log = require "util.logger".init("sessionmanager"); local error = error; local uuid_generate = require "util.uuid".uuid_generate; -local rm_getroster = require "core.rostermanager".getroster +local rm_load_roster = require "core.rostermanager".load_roster; local newproxy = newproxy; local getmetatable = getmetatable; @@ -92,7 +92,7 @@ function bind_resource(session, resource) session.full_jid = session.username .. '@' .. session.host .. '/' .. resource; hosts[session.host].sessions[session.username].sessions[resource] = session; - session.roster = rm_getroster(session.username, session.host); + session.roster = rm_load_roster(session.username, session.host); return true; end |