equal
deleted
inserted
replaced
21 if x then |
21 if x then |
22 success ( x_data.parse ( x ), |
22 success ( x_data.parse ( x ), |
23 function ( form, success, fail ) |
23 function ( form, success, fail ) |
24 iq.send ( conn, to, 'set', |
24 iq.send ( conn, to, 'set', |
25 { |
25 { |
26 command = form:format ( { xmlns = 'http://jabber.org/protocol/muc#owner' }, 'submit' ), |
26 query = form:format ( { xmlns = 'http://jabber.org/protocol/muc#owner' }, 'submit' ), |
27 }, success, fail ) |
27 }, success, fail ) |
28 end, |
28 end, |
29 function ( form, success, fail ) |
29 function ( form, success, fail ) |
30 iq.send ( conn, to, 'set', |
30 iq.send ( conn, to, 'set', |
31 { |
31 { |
32 command = form:format ( { xmlns = 'http://jabber.org/protocol/muc#owner' }, 'cancel' ), |
32 query = form:format ( { xmlns = 'http://jabber.org/protocol/muc#owner' }, 'cancel' ), |
33 }, success, fail ) |
33 }, success, fail ) |
34 end ) |
34 end ) |
35 end |
35 end |
36 end, fail ) |
36 end, fail ) |
37 end |
37 end |