Mercurial > prosody-hg
diff net/xmppclient_listener.lua @ 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 | 2c0b9e3c11c3 |
| children | 4c79b28bce64 |
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
