mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.xmppstream: Expose ns_separator and ns_pattern
This commit is contained in:
parent
673d2cd2a3
commit
c662c73374
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ local xmlns_streams = "http://etherx.jabber.org/streams";
|
|||
local ns_separator = "\1";
|
||||
local ns_pattern = "^([^"..ns_separator.."]*)"..ns_separator.."?(.*)$";
|
||||
|
||||
_M.ns_separator = ns_separator;
|
||||
_M.ns_pattern = ns_pattern;
|
||||
|
||||
function new_sax_handlers(session, stream_callbacks)
|
||||
local xml_handlers = {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue