diff options
Diffstat (limited to 'plugins/mod_presence.lua')
-rw-r--r-- | plugins/mod_presence.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index 7c34eefa..0511c888 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -148,10 +148,8 @@ function send_presence_of_available_resources(user, host, jid, recipient_session local pres = session.presence;
if pres then
pres.attr.to = jid;
- pres.attr.from = session.full_jid;
core_route_stanza(session, pres);
pres.attr.to = nil;
- pres.attr.from = nil;
count = count + 1;
end
end
|