equal
deleted
inserted
replaced
211 t_insert(session.requests, request); |
211 t_insert(session.requests, request); |
212 request.sid = sid; |
212 request.sid = sid; |
213 end |
213 end |
214 |
214 |
215 function stream_callbacks.handlestanza(request, stanza) |
215 function stream_callbacks.handlestanza(request, stanza) |
216 log("debug", "BOSH stanza received: %s\n", stanza:pretty_print()); |
216 log("debug", "BOSH stanza received: %s\n", stanza:top_tag()); |
217 local session = sessions[request.sid]; |
217 local session = sessions[request.sid]; |
218 if session then |
218 if session then |
219 if stanza.attr.xmlns == xmlns_bosh then |
219 if stanza.attr.xmlns == xmlns_bosh then |
220 stanza.attr.xmlns = "jabber:client"; |
220 stanza.attr.xmlns = "jabber:client"; |
221 end |
221 end |