projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bfbfa1
)
mod_presence: Enable firing of pre-events for probes.
author
Waqas Hussain
<waqas20@gmail.com>
Fri, 4 Jun 2010 13:36:04 +0000
(18:36 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Fri, 4 Jun 2010 13:36:04 +0000
(18:36 +0500)
plugins/mod_presence.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_presence.lua
b/plugins/mod_presence.lua
index 509d5862d6cc85929b0f848db3e19cb0401b390f..6da0f8639f65cc42418bc885e4538dd86aedca2e 100644
(file)
--- 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, prob
e);
+ core_
post_stanza(origin, probe, tru
e);
end
end
for _, res in pairs(user and user.sessions or NULL) do -- broadcast from all available resources