diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-07-06 01:37:57 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-07-06 01:37:57 +0500 |
commit | bfba1b141b6b2e95940c056eaa8e1bd7f7bd8a21 (patch) | |
tree | a0a42f9a019d09791ba14a9dc46515864d939a04 /plugins | |
parent | d1ee8e0f537fdc3c5b31557a021a9601544d9cd4 (diff) | |
download | prosody-bfba1b141b6b2e95940c056eaa8e1bd7f7bd8a21.tar.gz prosody-bfba1b141b6b2e95940c056eaa8e1bd7f7bd8a21.zip |
mod_presence: Fixed: Presence probe replies now get sent to the full JID of the probe sender
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_presence.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index 89136e3d..5618d589 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -209,7 +209,7 @@ function handle_inbound_presence_subscriptions_and_probes(origin, stanza, from_b log("debug", "inbound presence "..stanza.attr.type.." from "..from_bare.." for "..to_bare);
if stanza.attr.type == "probe" then
if rostermanager.is_contact_subscribed(node, host, from_bare) then
- if 0 == send_presence_of_available_resources(node, host, from_bare, origin, core_route_stanza) then
+ if 0 == send_presence_of_available_resources(node, host, st_from, origin, core_route_stanza) then
-- TODO send last recieved unavailable presence (or we MAY do nothing, which is fine too)
end
else
|