author | Waqas Hussain <waqas20@gmail.com> |
Sun, 05 Jul 2009 11:57:18 +0500 | |
changeset 1472 | 9b13cea9fa3e |
parent 1471 | 8b3753b080fc |
child 1473 | d2211cbb822f |
--- 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