Changeset

323:7c9d2cabd245

Second fix for broadcasting presence of available resources to newly approved contact
author Waqas Hussain <waqas20@gmail.com>
date Mon, 17 Nov 2008 11:28:09 +0500
parents 322:d370fea67264
children 324:fb3266478a0d
files core/presencemanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/presencemanager.lua	Mon Nov 17 10:24:47 2008 +0500
+++ b/core/presencemanager.lua	Mon Nov 17 11:28:09 2008 +0500
@@ -24,7 +24,7 @@
 				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;