29 Mar 2024 |
inamruzui (mizu/malzu) π³ββ§ | β β β β β β β β β β | 07:20:49 |
ππ | Hey there :-) Two quick questions: I can ban users via GUI in the user list, but the only way I know to unban them is with /unban - is there a list where I can see which users are banned?
And the second: How can I change power levels of users? | 11:42:23 |
Nico|totally-not-dev | There is no list of banned users atm | 11:42:55 |
Nico|totally-not-dev | And you can change permissions in the room settings | 11:43:05 |
Jason π³οΈββ§οΈ | do you have a way to ban people in the app? | 11:46:42 |
Nico|totally-not-dev | You click the ban button on someones profile | 11:46:59 |
Jason π³οΈββ§οΈ | and then to unban? | 11:47:07 |
Nico|totally-not-dev | Dunno if we have an unban button, but we do have the /unban command | 11:47:36 |
Jason π³οΈββ§οΈ | so the UX is pretty much lock 'em up and throw away the key? | 11:48:33 |
Nico|totally-not-dev | Probably, I haven't used that in ages | 11:49:14 |
ππ | So as bans are stored in the room state, is there a way in nheko to see it like in element with /devtoos ? If not, no problem, I'll just write a small script to retrieve it :-) | 11:55:27 |
Nico|totally-not-dev | No | 11:55:39 |
ππ | Aye. Thanks alot <3 | 11:56:31 |
Jason π³οΈββ§οΈ | so .... what if you're a large room owner and you delegate authority to a team of operators for coverage. how do you hold your operators accountable if you don't even know who they are banning? | 12:12:33 |
Nico|totally-not-dev | Well, you can see in the timeline, when they are banning someone, who banned them and for what reason | 12:13:02 |
Jason π³οΈββ§οΈ | that would mean going back through the entire timeline for a large room and reading every line. what if an owner is gone for a weekend or a while and is unable to do that? | 12:14:14 |
Nico|totally-not-dev | It is not like we intentionally left out a view for banned users, we just never got around to implement it, because nobody asked for it and we had other priorities. If you feel strongly about it, I can help you implement it :) | 12:15:33 |
Nico|totally-not-dev | But in most cases you want to see, when someone was banned and why and rarely the full list, and for that the item in the timeline is sufficient in my experience | 12:16:35 |
Nico|totally-not-dev | For larger scale moderation you are going to use something like draupnir anyway | 12:16:50 |
ππ | Yeah, I was asking because something similar happenedβ¦ someone banned an user who was sometimes annoyingβ¦ where I'd have kicked at first. Now two months or so past and I want to unban them, but forgot their account ^^ | 12:17:11 |
Nico|totally-not-dev | Usually when that happens to me, either the person notified me, that they want to be unbanned or it is a day later, so I can just scroll up | 12:18:07 |
Nico|totally-not-dev | Not to say, that a banned user list isn't useful, just I tend to need it very rarely | 12:18:48 |
ππ | Same :-) And I use nheko since two years or so :-) | 12:19:30 |
ππ | I think it should work with https://spec.matrix.org/v1.10/client-server-api/#get_matrixclientv3roomsroomidstateeventtypestatekey or https://spec.matrix.org/v1.10/client-server-api/#get_matrixclientv3roomsroomidstate β¦ but gotta go now, but can share the script later if someone is interested in it (and if it's not too off topic here) | 12:20:59 |
Nico|totally-not-dev | The first one only works, if you already know their mxid :) | 12:21:30 |
Jason π³οΈββ§οΈ | I mean the implementation here is probably as extensive as redrawing the existing members list with another request to /members?membership=ban or however it goes. no real magic there | 12:21:33 |
Nico|totally-not-dev | In reply to @jason:075-141-169-120.res.spectrum.com:8447 I mean the implementation here is probably as extensive as redrawing the existing members list with another request to /members?membership=ban or however it goes. no real magic there You probably also want to show the ban reason and we currently delete banned users from our stored members database | 12:22:08 |
Jason π³οΈββ§οΈ | I can rewrite nheko in rust and then submit the patch | 12:22:38 |
Nico|totally-not-dev | That is unlikely to get merged | 12:22:54 |
Nico|totally-not-dev | Large PRs generally have a hard time | 12:23:09 |