We're updating the issue view to help you get more done. 

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

Description

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:
http://www.jivesoftware.org/forums/thread.jspa?threadID=15231

Environment

None

Acceptance Test - Entry

None

Activity

Show:
wroot
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.

Daryl Herzmann
May 30, 2009, 2:19 AM

I'm keen on doing something about this one.

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

Daryl Herzmann
April 21, 2010, 12:31 AM
Edited

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

Daryl Herzmann
April 21, 2010, 1:18 AM

r11682

Assignee

Guenther Niess

Reporter

Gaston Dombiak

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure