Software /
code /
prosody
Diff
plugins/mod_presence.lua @ 1011:beb039827c9f
Stopped using presencemanager in stanza_router
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 15 Apr 2009 04:21:20 +0500 |
parent | 1009:a2dd83bc3afa |
child | 1019:8d750336e517 |
line wrap: on
line diff
--- a/plugins/mod_presence.lua Wed Apr 15 02:10:51 2009 +0500 +++ b/plugins/mod_presence.lua Wed Apr 15 04:21:20 2009 +0500 @@ -243,7 +243,7 @@ if to == nil and stanza.attr.type ~= nil and stanza.attr.type ~= "unavailable" and stanza.attr.type ~= "error" then handle_outbound_presence_subscriptions_and_probes(origin, stanza, from_bare, to_bare, core_route_stanza); elseif not to then - handle_normal_presence(origin, stanza); + handle_normal_presence(origin, stanza, core_route_stanza); else core_route_stanza(origin, stanza); end @@ -263,5 +263,3 @@ module.unload = function() remove_handler(module:get_host().."/presence", presence_handler); end - -return _M;