Gianni Ceccarelli bafef1f8b4
ignore instance.actor when checking if there are local users (#13146)
* ignore `instance.actor` when checking if there are local users

We've seen this happen a few times:

* there was some AP software at $some_domain
* it gets replaced by Misskey
* before the first user can be created, an AP activity comes in
* Misskey resolves the activity
* to do this, it creates the `instance.actor` to sign its request
* now there *is* a local user, so the `meta` endpoint returns
  `requireSetup:false`
* the admin is very confused

This commit factors out the check, and doesn't count the
`instance.actor` as a real user.

* autogen bits
2024-02-04 20:46:28 +09:00
..
2022-04-15 21:33:00 +09:00
2021-11-12 10:35:41 +09:00
2022-09-20 01:04:08 +09:00
2023-12-14 11:35:17 +09:00
2021-11-12 10:35:41 +09:00
2023-02-07 19:50:38 +09:00
2024-01-30 20:59:44 +09:00
chore: ✌️
2022-12-24 14:39:17 +09:00
2023-09-04 13:33:38 +09:00

Misskey Backend