Modern XMPP project discussion - 2025-09-26


  1. edhelas

    I'm struggling making a nice UI to explain what are the difference between roles and affiliations, especially between the Admin (aff), Owner (aff) and Moderator (role). Even for me its confusing. Is there some kind of documentation or reference UI for that ?

    🤔 1
  2. edhelas

    I'm struggling making a nice UI to explain what are the difference between roles and affiliations in MUC, especially between the Admin (aff), Owner (aff) and Moderator (role). Even for me its confusing. Is there some kind of documentation or reference UI for that ?

  3. lovetox

    edhelas: don't. Forget roles, show only affiliations

  4. edhelas

    Yes but then how can I handle the Mute feature

  5. lovetox

    Ok that was not good, I retract that statement

  6. lovetox

    Maybe abstract it in the code

  7. edhelas

    Yes but how

  8. lovetox

    Make you own affiliations where you mix protocol affils and roles

  9. lovetox

    Into a single enum or something

  10. edhelas

    I was ready to just put a toggle on that and set the member visitor or not, but a role can also be moderator and participant

  11. lovetox

    Yeah create your own logic how you fuse them into one

  12. lovetox

    For example moderator and admin = admin

  13. edhelas

    And that is exactly why i'm asking the question there

  14. edhelas

    What is your logic and can we define a common logic

  15. lovetox

    Participant + moderator = moderator

  16. lovetox

    I can look it up later in fajim

  17. lovetox

    I can look it up later in gajim

  18. lovetox

    I think you create a hirachy Owner Admin Moderator Member Participant Participant without voice

  19. edhelas

    That its how its done in Gajim ?

  20. edhelas

    You have a dropdown like this ?

  21. lovetox

    dropdown? no, for what? to set a affiliation/role?

  22. lovetox

    https://share.hoerist.com/philipp/message/o7YkOkcjRsRqXqYl/3c19257d-b731-4984-b3da-c00669b756db.png

  23. lovetox

    https://share.hoerist.com/philipp/message/AjG2jVR1cp2jx3SB/734b6833-2909-4b15-ad45-6358ee9609c6.png

  24. lovetox

    note we dont offer a "make moderator" option, as i have the personal ability its not a useful feature for people

  25. lovetox

    - because server dont preserve that role, so once the user leaves the role is gone - i think its a very big big edge case that you cannot make the same member simply an Admin instead

  26. lovetox

    -ability +opinion

  27. lovetox

    i dont see a lot of people have an intersection at, i trust that user to moderate my channel (Moderator), but i dont want him to have admin permission (for some reason nobody yet told me)

  28. edhelas

    So you do have a Revoke voice option that set the member to role = visitor

  29. edhelas

    So what are you doing when removing the no-voice option ? role = participant ?

  30. lovetox

    first voice is a tricky topic that depends on how the muc is configured

  31. lovetox

    it may have no impact at all

  32. lovetox

    i dont get your question, are you asking how i remove voice from someone?

  33. lovetox

    granting voice is sending the server role=participant

  34. lovetox

    revoking is role=visitor

  35. Kris

    > first voice is a tricky topic that depends on how the muc is configured Yeah, a moderated channel and voicing participants is not exactly the same as muting or shadow banning someone.

  36. Kris

    I hope these will get added in GC3 as options.

  37. edhelas

    > granting voice is sending the server role=participant Okay, looks good to me

  38. edhelas

    And is there cases where you send the role = moderator in your code ?

  39. lovetox

    no

  40. lovetox

    i said this above

  41. edhelas

    Then I'll do the same

  42. edhelas

    And make the voice a toggle :) Way easier in the UI and understandable for the users

  43. lovetox

    yes, i would abstract that all in a single list of "Roles" and simply offer actions to change that "Role"

  44. lovetox

    something we did recently is also to remove showing the difference between "member" and "participants"

  45. lovetox

    both are now simply "participants"

  46. lovetox

    and people without voice are "visitors"

  47. edhelas

    Interesting

  48. edhelas

    Is GC3 going this way ?

  49. lovetox

    no idea, never looked into GC3

  50. edhelas

    > and people without voice are "visitors" I'm thinking if it could be a new table on the modernxmpp website for all that ?

  51. Kris

    What about muc_sub subcribers (ejabberd only I think?)

  52. lovetox

    never heard of that and dont know what it does

  53. Kris

    https://docs.ejabberd.im/developer/xmpp-clients-bots/extensions/muc-sub/

  54. Kris

    Something like that will probably end up in GC3

  55. lovetox

    the thing with members vs participants is, that members just default to participants

  56. lovetox

    but thats some rule that the server needs to know, not the user

  57. lovetox

    user just cares, who can talk and who not

  58. lovetox

    But yeah not saying we have found the perfect solution, I feel we are 90% there

  59. Kris

    > no idea, never looked into GC3 xmpp:gc3@rooms.modernxmpp.org?join

  60. MattJ

    edhelas [15:29]: > Is GC3 going this way ? Roles are indeed being phased out in GC3

    ♥ 1