aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-17 11:28:09 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-17 11:28:09 +0500
commitf52d02787c9e020b81b643bab30587fa2b719d58 (patch)
treec7019627b0d24a04733044f4c9552ec87f3464f3 /core
parente421d0eb42b55b011bb10eaad2a5c877e8b7ae6a (diff)
downloadprosody-f52d02787c9e020b81b643bab30587fa2b719d58.tar.gz
prosody-f52d02787c9e020b81b643bab30587fa2b719d58.zip
Second fix for broadcasting presence of available resources to newly approved contact
Diffstat (limited to 'core')
-rw-r--r--core/presencemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/presencemanager.lua b/core/presencemanager.lua
index 4a555712..70fa4194 100644
--- a/core/presencemanager.lua
+++ b/core/presencemanager.lua
@@ -24,7 +24,7 @@ function send_presence_of_available_resources(user, host, jid, recipient_session
if pres then
pres.attr.to = jid;
pres.attr.from = session.full_jid;
- core_route_stanza(recipient_session, pres);
+ core_route_stanza(session, pres);
pres.attr.to = nil;
pres.attr.from = nil;
count = count + 1;