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?

    • Edgeburn02@lemmy.edgeburnmedia.comOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      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.

  • hawkwind@lemmy.management
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    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.