Software /
code /
prosody
Comparison
plugins/mod_roster.lua @ 1355:42c6840ec47f
mod_roster: Removed references to presencemanager and core_route_stanza
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 14 Jun 2009 17:59:22 +0500 |
parent | 1354:a27eb60a77cd |
child | 1523:841d61be198f |
comparison
equal
deleted
inserted
replaced
1354:a27eb60a77cd | 1355:42c6840ec47f |
---|---|
13 local jid_split = require "util.jid".split; | 13 local jid_split = require "util.jid".split; |
14 local jid_prep = require "util.jid".prep; | 14 local jid_prep = require "util.jid".prep; |
15 local t_concat = table.concat; | 15 local t_concat = table.concat; |
16 local tostring = tostring; | 16 local tostring = tostring; |
17 | 17 |
18 local handle_presence = require "core.presencemanager".handle_presence; | |
19 local rm_remove_from_roster = require "core.rostermanager".remove_from_roster; | 18 local rm_remove_from_roster = require "core.rostermanager".remove_from_roster; |
20 local rm_add_to_roster = require "core.rostermanager".add_to_roster; | 19 local rm_add_to_roster = require "core.rostermanager".add_to_roster; |
21 local rm_roster_push = require "core.rostermanager".roster_push; | 20 local rm_roster_push = require "core.rostermanager".roster_push; |
22 local core_route_stanza = core_route_stanza; | |
23 local core_post_stanza = core_post_stanza; | 21 local core_post_stanza = core_post_stanza; |
24 | 22 |
25 module:add_feature("jabber:iq:roster"); | 23 module:add_feature("jabber:iq:roster"); |
26 | 24 |
27 local rosterver_stream_feature = st.stanza("ver", {xmlns="urn:xmpp:features:rosterver"}):tag("optional"):up(); | 25 local rosterver_stream_feature = st.stanza("ver", {xmlns="urn:xmpp:features:rosterver"}):tag("optional"):up(); |