Comparison

core/presencemanager.lua @ 325:5de1048b3fbf

Adding logging for outbound presence broadcasts (changed it a bit)
author Waqas Hussain <waqas20@gmail.com>
date Mon, 17 Nov 2008 12:27:02 +0500
parent 324:fb3266478a0d
child 326:99a8317d1235
comparison
equal deleted inserted replaced
324:fb3266478a0d 325:5de1048b3fbf
30 count = count + 1; 30 count = count + 1;
31 end 31 end
32 end 32 end
33 end 33 end
34 end 34 end
35 log("info", "broadcasted presence of "..count.." resources from "..user.."@"..host.." to "..to_bare); 35 log("info", "broadcasted presence of "..count.." resources from "..user.."@"..host.." to "..jid);
36 return count; 36 return count;
37 end 37 end
38 38
39 function handle_outbound_presence_subscriptions_and_probes(origin, stanza, from_bare, to_bare, core_route_stanza) 39 function handle_outbound_presence_subscriptions_and_probes(origin, stanza, from_bare, to_bare, core_route_stanza)
40 local node, host = jid_split(from_bare); 40 local node, host = jid_split(from_bare);