I’ve posted the message
http://www.igniterealtime.org/community/thread/32484 about XEP-0045.
I’ve set it as answered because I realized that I need to send my
presence to the room before trying to perform any action. Now I can add
new members.
According to the XEP-0045 the server is supposed to send a
result message indicating success BUT Openfire does not send any
message after adding the new member. Is it a bug or I’m still missing
something?
- Example given in the XEP-0045.
Example 105. Admin Grants Membership
<iq from=‘crone1@shakespeare.lit/desktop’
id=‘member1’
to=‘darkcave@macbeth.shakespeare.lit’
type=‘set’>
<query xmlns=‘http://jabber.org/protocol/muc#admin’>
<item affiliation=‘member’
jid=‘hag66@shakespeare.lit’/>
</query>
</iq>
The service MUST add the user to the member list and then inform the admin of success:
Example 106. Service Informs Admin of Success
<iq from=‘darkcave@macbeth.shakespeare.lit’
id=‘member1’
to=‘crone1@shakespeare.lit/desktop’
type=‘result’/>
— But when using Openfire I never receive the result msg, although the member is properly added
Thanks!!!
Daniel Madruga.