Changeset

901:0e8934d3c4cb

net.xmppclient_listener: Set default namespace to jabber:client
author Matthew Wild <mwild1@gmail.com>
date Sat, 21 Mar 2009 21:45:25 +0000
parents 900:686e3e4a7e15
children 902:00daf63c129e
files net/xmppclient_listener.lua
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/xmppclient_listener.lua	Sat Mar 21 21:44:42 2009 +0000
+++ b/net/xmppclient_listener.lua	Sat Mar 21 21:45:25 2009 +0000
@@ -25,7 +25,9 @@
 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