Allow to enable/disable if invitations should be sent to new room members


JM is currently sending room invitations when a user becomes a member. We can make this feature optional so that it would be possible to add members to the room and not send any invitation.

Make sure that we are only sending invitations if:
. room is members-only
. user is not currently affiliated with the room

From the spec (notice the SHOULD and not the MUST):
"In addition, the service SHOULD send an invitation to any user who has been added to the member list of a members-only room if the user is not currently affiliated with the room, for example as an admin or owner (such a user would by definition not be in the room; note also that this example includes a password but not a reason – both child elements are OPTIONAL):"

Related thread:




Daryl Herzmann
April 21, 2010, 1:18 AM


Daryl Herzmann
April 21, 2010, 12:31 AM

I talked to Guus and he suggested, "xmpp.muc.skipInvite" , I'm gonna code that up now.

Daryl Herzmann
April 15, 2010, 6:19 PM

Hey Guenther,

How about we add a system property to prevent room invites from being sent automatically? I'd be happy to code it up, any thoughts on what the property should be named?

xmpp.muc.autoinvite perhaps?


Daryl Herzmann
May 30, 2009, 2:19 AM

I'm keen on doing something about this one.

August 27, 2008, 2:37 AM

Well, it sends an Invite. But this invite lacks From address and some invite text in it. I was able to get that invite with Exodus, but not with Spark.

Your pinned fields
Click on the next to a field label to start pinning.


Guenther Niess


Gaston Dombiak