[Standards] XEP-0045: Multi-User Chat: Question/problem with modifying member list (e.g. in offline case)

Christian Schudt christian.schudt at gmx.de
Tue Mar 25 13:54:08 UTC 2014

Dear XMPP community,
I recently had the following requirement for a Multi-User Chat implementation:
User A (owner) and User B are in a members-only room. User A modifies the member list according to “9.3 and 9.5 Modifying the Member List” and adds another User C to the member list and also sends an invitation to User C.
The room shall then inform User B about the new member / affiliation change. But it doesn’t, because User C is not available in the room yet (he might be offline or currently doesn’t wish to participate in a discussion).
9.3 Granting Membership (Example 123) says:
“If the user is in the room, the service MUST then send updated presence from this individual to all occupants, indicating the granting of membership…”
So, why is there the “If the user is in the room” clause? Unfortunately with that, the above requirement can’t be met.
What do you think of the possibility to send the following stanza for this use case (with type=”unavailable”)?
    from='coven at chat.shakespeare.lit/thirdwitch'
    to='crone1 at shakespeare.lit/desktop'>
  <x xmlns='http://jabber.org/protocol/muc#user'>
    <item affiliation='member'
          jid='hag66 at shakespeare.lit/pda'
(same is true for other affiliation changes, if the user, whose affiliation has changed is not in the room).
Kind regards,

More information about the Standards mailing list