-
edhelas
🤔 1I'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 ?✎ -
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 ? ✏
-
Kris
> 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 ? 🤔 ↺
-
lovetox
edhelas: don't. Forget roles, show only affiliations
-
edhelas
Yes but then how can I handle the Mute feature
-
lovetox
Ok that was not good, I retract that statement
-
lovetox
Maybe abstract it in the code
-
edhelas
Yes but how
-
lovetox
Make you own affiliations where you mix protocol affils and roles
-
lovetox
Into a single enum or something
-
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
-
lovetox
Yeah create your own logic how you fuse them into one
-
lovetox
For example moderator and admin = admin
-
edhelas
And that is exactly why i'm asking the question there
-
edhelas
What is your logic and can we define a common logic
-
lovetox
Participant + moderator = moderator
-
lovetox
I can look it up later in fajim✎ -
lovetox
I can look it up later in gajim ✏
-
lovetox
I think you create a hirachy Owner Admin Moderator Member Participant Participant without voice
-
edhelas
That its how its done in Gajim ?
-
edhelas
You have a dropdown like this ?
-
lovetox
dropdown? no, for what? to set a affiliation/role?
-
lovetox
https://share.hoerist.com/philipp/message/o7YkOkcjRsRqXqYl/3c19257d-b731-4984-b3da-c00669b756db.png
-
lovetox
https://share.hoerist.com/philipp/message/AjG2jVR1cp2jx3SB/734b6833-2909-4b15-ad45-6358ee9609c6.png
-
lovetox
note we dont offer a "make moderator" option, as i have the personal ability its not a useful feature for people
-
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
-
lovetox
-ability +opinion
-
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)
-
edhelas
So you do have a Revoke voice option that set the member to role = visitor
-
edhelas
So what are you doing when removing the no-voice option ? role = participant ?
-
lovetox
first voice is a tricky topic that depends on how the muc is configured
-
lovetox
it may have no impact at all
-
lovetox
i dont get your question, are you asking how i remove voice from someone?
-
lovetox
granting voice is sending the server role=participant
-
lovetox
revoking is role=visitor
-
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. ↺
-
Kris
I hope these will get added in GC3 as options.
-
edhelas
> granting voice is sending the server role=participant Okay, looks good to me ↺
-
edhelas
And is there cases where you send the role = moderator in your code ?
-
lovetox
no
-
lovetox
i said this above
-
edhelas
Then I'll do the same
-
edhelas
And make the voice a toggle :) Way easier in the UI and understandable for the users
-
lovetox
yes, i would abstract that all in a single list of "Roles" and simply offer actions to change that "Role"
-
lovetox
something we did recently is also to remove showing the difference between "member" and "participants"
-
lovetox
both are now simply "participants"
-
lovetox
and people without voice are "visitors"
-
edhelas
Interesting
-
edhelas
Is GC3 going this way ?
-
lovetox
no idea, never looked into GC3
-
edhelas
> and people without voice are "visitors" I'm thinking if it could be a new table on the modernxmpp website for all that ? ↺
-
Kris
What about muc_sub subcribers (ejabberd only I think?)
-
lovetox
never heard of that and dont know what it does
-
Kris
https://docs.ejabberd.im/developer/xmpp-clients-bots/extensions/muc-sub/
-
Kris
Something like that will probably end up in GC3
-
lovetox
the thing with members vs participants is, that members just default to participants
-
lovetox
but thats some rule that the server needs to know, not the user
-
lovetox
user just cares, who can talk and who not
-
lovetox
But yeah not saying we have found the perfect solution, I feel we are 90% there
-
Kris
> no idea, never looked into GC3 xmpp:gc3@rooms.modernxmpp.org?join ↺
-
MattJ
edhelas [15:29]: > Is GC3 going this way ? Roles are indeed being phased out in GC3
♥ 1