Software /
code /
prosody
Diff
core/sessionmanager.lua @ 101:c690fa382743
Added some roster management functions
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 12 Oct 2008 17:40:03 +0500 |
parent | 77:531b981f2d17 |
child | 112:df54cab4ff9c |
line wrap: on
line diff
--- a/core/sessionmanager.lua Sun Oct 12 17:38:17 2008 +0500 +++ b/core/sessionmanager.lua Sun Oct 12 17:40:03 2008 +0500 @@ -12,7 +12,7 @@ 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 @@ 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