From 89a0eb0ee09b03324a3883013677b4fea591e691 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 21 Mar 2009 21:45:25 +0000 Subject: net.xmppclient_listener: Set default namespace to jabber:client --- net/xmppclient_listener.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net') 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 -- cgit v1.2.3