Files
misskey/packages/backend/src/server/api/endpoints
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
..
2023-09-15 14:28:29 +09:00
2023-11-02 15:57:55 +09:00
2024-01-19 20:51:49 +09:00
2023-09-15 14:28:29 +09:00
2023-09-15 14:28:29 +09:00
🎨
2023-10-24 14:38:15 +09:00
2023-09-15 14:28:29 +09:00
2023-09-15 14:28:29 +09:00