Sun, 05 Jul 2009 11:57:18 +0500
mod_presence: Removed some unnecessary code
plugins/mod_presence.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_presence.lua Fri Jul 03 21:47:26 2009 +0100 +++ b/plugins/mod_presence.lua Sun Jul 05 11:57:18 2009 +0500 @@ -119,13 +119,10 @@ recalc_resource_map(origin); end if origin.directed then - local old_from = stanza.attr.from; - stanza.attr.from = origin.full_jid; for jid in pairs(origin.directed) do stanza.attr.to = jid; core_route_stanza(origin, stanza); end - stanza.attr.from = old_from; origin.directed = nil; end else