Comparison

net/xmppclient_listener.lua @ 604:b6a31e97d018

stanza_dispatch != dispatch_stanza
author Matthew Wild <mwild1@gmail.com>
date Sun, 07 Dec 2008 22:55:18 +0000
parent 598:2538912d94ba
child 611:7bb91fcddaf8
comparison
equal deleted inserted replaced
603:423fd24fff54 604:b6a31e97d018
124 session.reset_stream = session_reset_stream; 124 session.reset_stream = session_reset_stream;
125 session.close = session_close; 125 session.close = session_close;
126 126
127 session_reset_stream(session); -- Initialise, ready for use 127 session_reset_stream(session); -- Initialise, ready for use
128 128
129 session.stanza_dispatch = stream_callbacks.handlestanza; 129 session.dispatch_stanza = stream_callbacks.handlestanza;
130 end 130 end
131 if data then 131 if data then
132 session.data(conn, data); 132 session.data(conn, data);
133 end 133 end
134 end 134 end