aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-03-21 21:45:25 +0000
committerMatthew Wild <mwild1@gmail.com>2009-03-21 21:45:25 +0000
commit89a0eb0ee09b03324a3883013677b4fea591e691 (patch)
treee57c14a2b31d03c37d88411b65aeff6ff60448cc /net
parent6e7079089969890627b7e52f856cfd57a8eff8fb (diff)
downloadprosody-89a0eb0ee09b03324a3883013677b4fea591e691.tar.gz
prosody-89a0eb0ee09b03324a3883013677b4fea591e691.zip
net.xmppclient_listener: Set default namespace to jabber:client
Diffstat (limited to 'net')
-rw-r--r--net/xmppclient_listener.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/xmppclient_listener.lua b/net/xmppclient_listener.lua
index baf66360..44852834 100644
--- a/net/xmppclient_listener.lua
+++ b/net/xmppclient_listener.lua
@@ -25,7 +25,9 @@ local sm_streamopened = sessionmanager.streamopened;
local sm_streamclosed = sessionmanager.streamclosed;
local st = stanza;
-local stream_callbacks = { stream_tag = "http://etherx.jabber.org/streams|stream", streamopened = sm_streamopened, streamclosed = sm_streamclosed, handlestanza = core_process_stanza };
+local stream_callbacks = { stream_tag = "http://etherx.jabber.org/streams|stream",
+ default_ns = "jabber:client",
+ streamopened = sm_streamopened, streamclosed = sm_streamclosed, handlestanza = core_process_stanza };
function stream_callbacks.error(session, error, data)
if error == "no-stream" then