From 5f4b882a7769e4468d35930b1b8638824584fdab Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Fri, 4 Jun 2010 18:36:04 +0500 Subject: mod_presence: Enable firing of pre-events for probes. --- plugins/mod_presence.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_presence.lua b/plugins/mod_presence.lua index 509d5862..6da0f863 100644 --- a/plugins/mod_presence.lua +++ b/plugins/mod_presence.lua @@ -97,7 +97,7 @@ function handle_normal_presence(origin, stanza) 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 -- cgit v1.2.3