aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-07-06 01:37:57 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-07-06 01:37:57 +0500
commitbfba1b141b6b2e95940c056eaa8e1bd7f7bd8a21 (patch)
treea0a42f9a019d09791ba14a9dc46515864d939a04
parentd1ee8e0f537fdc3c5b31557a021a9601544d9cd4 (diff)
downloadprosody-bfba1b141b6b2e95940c056eaa8e1bd7f7bd8a21.tar.gz
prosody-bfba1b141b6b2e95940c056eaa8e1bd7f7bd8a21.zip
mod_presence: Fixed: Presence probe replies now get sent to the full JID of the probe sender
-rw-r--r--plugins/mod_presence.lua2
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