net/xmppclient_listener.lua

changeset 901
0e8934d3c4cb
parent 894
2c0b9e3c11c3
child 1040
4c79b28bce64
--- 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

mercurial