Software /
code /
prosody
Diff
net/xmppserver_listener.lua @ 900:686e3e4a7e15
net.xmppserver_listener: Set default namespace to jabber:server
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 21:44:42 +0000 |
parent | 896:2c0b9e3c11c3 |
child | 974:82f7261c0482 |
line wrap: on
line diff
--- a/net/xmppserver_listener.lua Sat Mar 21 21:43:50 2009 +0000 +++ b/net/xmppserver_listener.lua Sat Mar 21 21:44:42 2009 +0000 @@ -17,7 +17,9 @@ 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