-
L29Ah
is there a way to make MUC users participants by default but remove voice selectively and persistently for certain users?
-
jonas’
AFAICT, not with stock XEP-0045
-
jonas’
with stock XEP-0045, you have the choice between moderated and non moderated. moderated means that new users (affiliation = none) do not get the permission to talk (role = visitor). non-moderated means that affiliation=none => role=participant, i.e. new users get the ability to talk.
-
jonas’
what you describe would require a mode where new users get affiliation=member (which is always role=participant)✎ -
jonas’
what you describe would require a mode where new users get affiliation=member (which is always role=participant), and where affiliation=none => role=visitor. ✏
-
jonas’
so that one can move the affiliation of offenders to none, to force them into the visitor role persistently
-
jonas’
I imagine that is a bit tricky to implement as absent affiliation data typically implies none :)
-
jonas’
https://xmpp.org/extensions/xep-0045.html#roles-priv that and the following section(s) describe what’s what
-
jonas’
and roles are ephemeral, while affiliations are tied to the real JID of the occupant
-
L29Ah
alright, so a modified MUC server or a bot is the way to go it seems
-
jonas’
a bot (with permissions to read the real jids) would do the trick, yes
-
jonas’
L29Ah, related: https://github.com/horazont/authbot
-
Ge0rG
jonas’: you should make "There is a bot for that" your personal tagine
-
MattJ
Mmm, tagine... is there a XEP for that yet?