equal
deleted
inserted
replaced
46 fail ( mess:xml () ) -- XXX more forms? |
46 fail ( mess:xml () ) -- XXX more forms? |
47 end |
47 end |
48 end, fail ) |
48 end, fail ) |
49 end, |
49 end, |
50 function ( form, success, fail ) |
50 function ( form, success, fail ) |
51 success () |
51 iq.send ( conn, to, 'set', |
|
52 { |
|
53 command = { xmlns = 'http://jabber.org/protocol/commands', node = command, sessionid = sid, |
|
54 x = { xmlns = 'jabber:x:data', type = 'cancel' }, -- FIXME |
|
55 }, |
|
56 }, success, fail ) |
52 end ) |
57 end ) |
53 else |
58 else |
54 fail ( mess:xml () ) -- XXX |
59 fail ( mess:xml () ) -- XXX |
55 end |
60 end |
56 end |
61 end |