[Standards] XEP-0045: direct invitations

Peter Saint-Andre stpeter at jabber.org
Thu Jul 19 20:27:51 UTC 2007

Currently it is not possible to send room invitations directly from one
person to another. That is, the invitation must go through the room. See:


This can cause problems with deployments that use privacy lists to block
communications from entities that are not in your roster.

In order to solve this issue, we need to modify the <invite/> element in
XEP-0045. Currently the flow is like this:

1. Occupant Sends an Invitation by Way of Room

    from='crone1 at shakespeare.lit/desktop'
    to='darkcave at macbeth.shakespeare.lit'>
  <x xmlns='http://jabber.org/protocol/muc#user'>
    <invite to='hecate at shakespeare.lit'/>

2. Room Sends Invitation to Invitee on Behalf of Occupant

    from='darkcave at macbeth.shakespeare.lit'
    to='hecate at shakespeare.lit'>
  <x xmlns='http://jabber.org/protocol/muc#user'>
    <invite from='crone1 at shakespeare.lit'/>

Notice that the invitation comes from the room and there is no way for
the invitee to know which room to join other than by checking the 'from'
address on the <message/>.

For direct invitations we'd need to include a 'room' attribute, like so:

    from='crone1 at shakespeare.lit/desktop'
    to='hecate at shakespeare.lit'>
  <x xmlns='http://jabber.org/protocol/muc#user'>
    <invite room='darkcave at macbeth.shakespeare.lit'/>

Yes, this is basically just like jabber:x:conference. Hmm. Everything
that's old is new again.

BTW, I think the room itself should include the 'room' attribute too.
That way you can just check the room attribute, not the 'from' address
of the <message/>.

Naturally, you could still send invitations through the room, but the
ability to invite directly enables us to work around the privacy lists
blocking issue.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7354 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20070719/aab81272/attachment.bin>

More information about the Standards mailing list