diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-06-04 18:36:04 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-06-04 18:36:04 +0500 |
commit | 5f4b882a7769e4468d35930b1b8638824584fdab (patch) | |
tree | 9a8a2de5149dae93ad1f8e446905d81d9c5fccb2 /plugins/mod_presence.lua | |
parent | dfb8c6b98c69a2f62f60f9629b9266bf8378eac0 (diff) | |
download | prosody-5f4b882a7769e4468d35930b1b8638824584fdab.tar.gz prosody-5f4b882a7769e4468d35930b1b8638824584fdab.zip |
mod_presence: Enable firing of pre-events for probes.
Diffstat (limited to 'plugins/mod_presence.lua')
-rw-r--r-- | plugins/mod_presence.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |