aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_c2s.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-03-15 17:37:07 +0100
committerKim Alvefur <zash@zash.se>2012-03-15 17:37:07 +0100
commit7fa01014cb684cc6421ecf9246b7559be795bf1e (patch)
tree59dcca5ce3f2be200a77f000babd18eb01f12185 /plugins/mod_c2s.lua
parentfa8c54baebec2d023dae4a587aafde9f0ff49ac6 (diff)
downloadprosody-7fa01014cb684cc6421ecf9246b7559be795bf1e.tar.gz
prosody-7fa01014cb684cc6421ecf9246b7559be795bf1e.zip
mod_c2s: Add missing multiplexed service discovery pattern.
Diffstat (limited to 'plugins/mod_c2s.lua')
-rw-r--r--plugins/mod_c2s.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index 12d10b18..743fe3d2 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -225,6 +225,9 @@ module:add_item("net-provider", {
listener = listener;
default_port = 5222;
encryption = "starttls";
+ multiplex = {
+ pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:client%1.*>";
+ };
});
module:add_item("net-provider", {