Software /
code /
prosody
Diff
plugins/mod_c2s.lua @ 4626:9df9e87d0339
mod_c2s: Add missing multiplexed service discovery pattern.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 15 Mar 2012 17:37:07 +0100 |
parent | 4625:325965bafae1 |
child | 4753:142e21f6bf8e |
line wrap: on
line diff
--- a/plugins/mod_c2s.lua Thu Mar 15 16:31:10 2012 +0000 +++ b/plugins/mod_c2s.lua Thu Mar 15 17:37:07 2012 +0100 @@ -225,6 +225,9 @@ listener = listener; default_port = 5222; encryption = "starttls"; + multiplex = { + pattern = "^<.*:stream.*%sxmlns%s*=%s*(['\"])jabber:client%1.*>"; + }; }); module:add_item("net-provider", {