diff options
author | Kim Alvefur <zash@zash.se> | 2012-03-15 17:37:07 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-03-15 17:37:07 +0100 |
commit | 7fa01014cb684cc6421ecf9246b7559be795bf1e (patch) | |
tree | 59dcca5ce3f2be200a77f000babd18eb01f12185 /plugins/mod_c2s.lua | |
parent | fa8c54baebec2d023dae4a587aafde9f0ff49ac6 (diff) | |
download | prosody-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.lua | 3 |
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", { |