Software /
code /
prosody
Changeset
1489:4da0131a5ccb
Merged with trunk
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 06 Jul 2009 01:40:43 +0500 |
parents | 1488:0d1aff918303 (diff) 1487:66f18c18befa (current diff) |
children | 1490:b5c59667a04c |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_presence.lua Sun Jul 05 19:05:25 2009 +0200 +++ b/plugins/mod_presence.lua Mon Jul 06 01:40:43 2009 +0500 @@ -209,7 +209,7 @@ 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