# HG changeset patch # User Waqas Hussain # Date 1275658564 -18000 # Node ID 28a5c0bda9280f5f032334aa310814674890d1e4 # Parent a19dbb6446a0e33d1b653412c1bf390fc2c81f4f mod_presence: Enable firing of pre-events for probes. diff -r a19dbb6446a0 -r 28a5c0bda928 plugins/mod_presence.lua --- a/plugins/mod_presence.lua Fri Jun 04 18:30:18 2010 +0500 +++ b/plugins/mod_presence.lua Fri Jun 04 18:36:04 2010 +0500 @@ -97,7 +97,7 @@ for jid, item in pairs(roster) do -- probe all contacts we are subscribed to if item.subscription == "both" or item.subscription == "to" then probe.attr.to = jid; - core_route_stanza(origin, probe); + core_post_stanza(origin, probe, true); end end for _, res in pairs(user and user.sessions or NULL) do -- broadcast from all available resources