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
commit8a4a259bde8e94104a5b9ea59290c29d5f835493 (patch)
tree59dcca5ce3f2be200a77f000babd18eb01f12185 /plugins/mod_c2s.lua
parentfdd0bb03e8e6b19b7eb68f33594ecace655dc4bc (diff)
downloadprosody-8a4a259bde8e94104a5b9ea59290c29d5f835493.tar.gz
prosody-8a4a259bde8e94104a5b9ea59290c29d5f835493.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", {