this post was submitted on 26 Jun 2023
15 points (100.0% liked)

Lemmy Support

4660 readers
21 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

I already attempted to change the admin user in the lemmy.hjson by switching the login information to a different account, but it still tells me that I'm not the top admin when I try to purge a community. If this isn't something that I can change, this should be something that is possible to do.

Although I don't know Rust, it looks like the function in the source code for getting the top admin is just getting the first user in the list of admins, is there some kind of database trickery I could do to achieve this?

you are viewing a single comment's thread
view the rest of the comments

Thank you, this was what I needed. I've changed the Published date on the user I want to be the top admin to be earlier, and now it is working as I hoped.