#254 Provide muc#roomconfig_allowinvites in mod_muc plugin
*What steps will reproduce the problem?*
1. Use telepathy-gabble to connect to Prosody
gabble fails to create muc, see https://bugs.freedesktop.org/show_bug.cgi?id=37897 bug.
Actually, I'm not sure if it is a bug of Prosody or telepathy-gabble.
Any thought is it might be "fixed" on Prosody side
*What is the expected output? What do you see instead?*
Affected code is:
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index ff11bd6..7945005 100644
@@ -608,6 +608,13 @@ function room_mt:get_form_layout()
type = 'boolean',
label = 'Make Room Members-Only?',
value = self:is_members_only()
+ -- Workaround for https://bugs.freedesktop.org/show_bug.cgi?id=37897
+ name = 'muc#roomconfig_allowinvites',
+ type = 'boolean',
+ label = 'Whether to Allow Occupants to Invite Others?',
+ value = false
This will need a bit more work. You have successfully added the option to the room configuration dialog, but the setting isn't actually used or saved :)
I'm changing the issue type from Defect to Enhancement. I'll see about making this work properly when I get a moment (unless someone beats me to it).
In fact, it is what telepathy-gabble is searching for, ie, after my "fix" I got telepathy-gabble working properly (properly means here that telepathy-gabble managed to start and do the rest of work, that does not relate to this feature, fine).
Is it possible to have some kind of stub in the way I did w/o implementing the whole feature (if I got it right) ?
We're dropping this from 0.9 to prevent it blocking the (overdue) release.
Stephen Paul Weber
This would be a very nice feature. Currently I have to set everyone I invite to owner so that they can invite others who can invite people.
I had to temporarily disable the mod_muc_config_restrict module because uses were reporting they could not invite others to a MUC.