net/xmppserver_listener.lua

changeset 3333
e6bb6bc4cfbe
parent 3332
c941d1191709
child 3345
8520cd88b84c
equal deleted inserted replaced
3332:c941d1191709 3333:e6bb6bc4cfbe
53 if stanza.attr.xmlns == "jabber:client" then --COMPAT: Prosody pre-0.6.2 may send jabber:client 53 if stanza.attr.xmlns == "jabber:client" then --COMPAT: Prosody pre-0.6.2 may send jabber:client
54 stanza.attr.xmlns = nil; 54 stanza.attr.xmlns = nil;
55 end 55 end
56 stanza = session.filter("stanzas/in", stanza); 56 stanza = session.filter("stanzas/in", stanza);
57 if stanza then 57 if stanza then
58 xpcall(function () core_process_stanza(a, b) end, handleerr); 58 xpcall(function () core_process_stanza(session, stanza) end, handleerr);
59 end 59 end
60 end 60 end
61 61
62 local connlisteners_register = require "net.connlisteners".register; 62 local connlisteners_register = require "net.connlisteners".register;
63 63

mercurial