XSF Discussion - 2021-07-10


  1. L29Ah

    is there a way to make MUC users participants by default but remove voice selectively and persistently for certain users?

  2. jonas’

    AFAICT, not with stock XEP-0045

  3. 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.

  4. jonas’

    what you describe would require a mode where new users get affiliation=member (which is always role=participant)

  5. 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.

  6. jonas’

    so that one can move the affiliation of offenders to none, to force them into the visitor role persistently

  7. jonas’

    I imagine that is a bit tricky to implement as absent affiliation data typically implies none :)

  8. jonas’

    https://xmpp.org/extensions/xep-0045.html#roles-priv that and the following section(s) describe what’s what

  9. jonas’

    and roles are ephemeral, while affiliations are tied to the real JID of the occupant

  10. L29Ah

    alright, so a modified MUC server or a bot is the way to go it seems

  11. jonas’

    a bot (with permissions to read the real jids) would do the trick, yes

  12. jonas’

    L29Ah, related: https://github.com/horazont/authbot

  13. Ge0rG

    jonas’: you should make "There is a bot for that" your personal tagine

  14. MattJ

    Mmm, tagine... is there a XEP for that yet?