diff options
-rw-r--r-- | plugins/mod_presence.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index df31a4c5..02c3945b 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -119,13 +119,10 @@ function handle_normal_presence(origin, stanza, core_route_stanza) 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
|