Software /
code /
prosody
Changeset
1472:9b13cea9fa3e
mod_presence: Removed some unnecessary code
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 05 Jul 2009 11:57:18 +0500 |
parents | 1471:8b3753b080fc |
children | 1473:d2211cbb822f |
files | plugins/mod_presence.lua |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
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