examples/lm/muc.lua
changeset 111 5bcdb71ef2f2
parent 77 8a7f7829f4df
--- a/examples/lm/muc.lua	Mon Apr 12 00:41:23 2010 +0300
+++ b/examples/lm/muc.lua	Wed Apr 14 11:21:02 2010 +0300
@@ -23,13 +23,13 @@
 					function ( form, success, fail )
 						iq.send ( conn, to, 'set',
 							{
-								command = form:format ( { xmlns = 'http://jabber.org/protocol/muc#owner' }, 'submit' ),
+								query = form:format ( { xmlns = 'http://jabber.org/protocol/muc#owner' }, 'submit' ),
 							}, success, fail )
 					end,
 					function ( form, success, fail )
 						iq.send ( conn, to, 'set',
 							{
-								command = form:format ( { xmlns = 'http://jabber.org/protocol/muc#owner' }, 'cancel' ),
+								query = form:format ( { xmlns = 'http://jabber.org/protocol/muc#owner' }, 'cancel' ),
 							}, success, fail )
 					end )
 			end