projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff5300
)
mod_bosh: Only pass stanza to core_process_stanza if it wasn't dropped by filters
author
Matthew Wild
<mwild1@gmail.com>
Mon, 8 Jul 2013 22:42:54 +0000
(23:42 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Mon, 8 Jul 2013 22:42:54 +0000
(23:42 +0100)
plugins/mod_bosh.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_bosh.lua
b/plugins/mod_bosh.lua
index b88cd9691ad71bb74733505a4d7e20e8dc87adfe..e9506a83594867c4c82e348e4c25b76012385725 100644
(file)
--- a/
plugins/mod_bosh.lua
+++ b/
plugins/mod_bosh.lua
@@
-361,7
+361,9
@@
function stream_callbacks.handlestanza(context, stanza)
stanza.attr.xmlns = nil;
end
stanza = session.filter("stanzas/in", stanza);
- core_process_stanza(session, stanza);
+ if stanza then
+ core_process_stanza(session, stanza);
+ end
end
end