mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
net.xmppserver_listener: Set default namespace to jabber:server
This commit is contained in:
parent
e49d269b88
commit
6e70790899
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ local s2s_streamopened = require "core.s2smanager".streamopened;
|
|||
local s2s_streamclosed = require "core.s2smanager".streamclosed;
|
||||
local s2s_destroy_session = require "core.s2smanager".destroy_session;
|
||||
local s2s_attempt_connect = require "core.s2smanager".attempt_connection;
|
||||
local stream_callbacks = { stream_tag = "http://etherx.jabber.org/streams|stream", streamopened = s2s_streamopened, streamclosed = s2s_streamclosed, handlestanza = core_process_stanza };
|
||||
local stream_callbacks = { stream_tag = "http://etherx.jabber.org/streams|stream",
|
||||
default_ns = "jabber:server",
|
||||
streamopened = s2s_streamopened, streamclosed = s2s_streamclosed, handlestanza = core_process_stanza };
|
||||
|
||||
function stream_callbacks.error(session, error, data)
|
||||
if error == "no-stream" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue