MUC change user affiliation problem

I am having a problem to changing a users affiliation in a room. It is ok when I want to add a user as ‘‘member’’ but when I want to add it as ‘‘admin’’ or ‘‘owner’’ I have an error 400 message. This is also the case when I want to update the affiliation of a user to an “owner” or “admin”. When I am making this call I am logged in as the owner of the group and the user is also and admin of the service in which the group was created.

// My query:

<iq id=“JN_11” type=“set” to=“room1@conference.sqlserver”>
<query xmlns=“http://jabber.org/protocol/muc#admin”>
<item
jid=“luser@sqlserver”
affiliation=“owner”>
TESTING


Do you have any idea ?
OF169.patch.zip (4084 Bytes)