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

Activity

Show:

Daryl Herzmann April 21, 2010 at 1:18 AM

r11682

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

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

Daryl Herzmann April 15, 2010 at 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 May 30, 2009 at 2:19 AM

I'm keen on doing something about this one.

wroot August 27, 2008 at 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.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created September 14, 2005 at 11:39 PM
Updated April 21, 2010 at 1:18 AM
Resolved April 21, 2010 at 1:18 AM

Flag notifications