Software /
code /
prosody
Diff
plugins/mod_presence.lua @ 1472:9b13cea9fa3e
mod_presence: Removed some unnecessary code
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 05 Jul 2009 11:57:18 +0500 |
parent | 1470:af4b918e3432 |
child | 1473:d2211cbb822f |
line wrap: on
line diff
--- 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