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?
if you look at the function that gets the admins, then you can see that it’s ordered by the
Published
date, so I believe you can just update the Published date to earlier than the rest of the admins.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.
It has to be done by manually by changing a row in the database AFAIK. Are you on matrix? If you ask in there someone might work with you.