Software /
code /
prosody
Comparison
core/presencemanager.lua @ 324:fb3266478a0d
Adding logging for outbound presence broadcasts
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 17 Nov 2008 12:21:21 +0500 |
parent | 323:7c9d2cabd245 |
child | 325:5de1048b3fbf |
comparison
equal
deleted
inserted
replaced
323:7c9d2cabd245 | 324:fb3266478a0d |
---|---|
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 return count; | 36 return count; |
36 end | 37 end |
37 | 38 |
38 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) |
39 local node, host = jid_split(from_bare); | 40 local node, host = jid_split(from_bare); |