equal
deleted
inserted
replaced
271 :up():up(); |
271 :up():up(); |
272 end |
272 end |
273 end |
273 end |
274 end); |
274 end); |
275 |
275 |
276 module:hook("iq/self/urn:ietf:params:xml:ns:xmpp-bind:bind", function(event) |
276 module:hook("stanza/iq/urn:ietf:params:xml:ns:xmpp-bind:bind", function(event) |
277 local origin, stanza = event.origin, event.stanza; |
277 local origin, stanza = event.origin, event.stanza; |
278 local resource; |
278 local resource; |
279 if stanza.attr.type == "set" then |
279 if stanza.attr.type == "set" then |
280 local bind = stanza.tags[1]; |
280 local bind = stanza.tags[1]; |
281 resource = bind:get_child("resource"); |
281 resource = bind:get_child("resource"); |