puyoskey/packages/misskey-js/src
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
..
autogen ignore instance.actor when checking if there are local users (#13146) 2024-02-04 20:46:28 +09:00
acct.ts refactor: substr -> substring (#11273) 2023-07-14 07:59:54 +09:00
api.ts refactor: migrate to ESM 2024-01-20 13:57:03 +09:00
api.types.ts refactor: migrate to ESM 2024-01-20 13:57:03 +09:00
consts.ts Merge pull request from GHSA-7pxq-6xx9-xpgm 2023-12-27 15:08:59 +09:00
entities.ts refactor(backend): User関連のスキーマ/型の指定を強くする (#12808) 2024-01-31 15:45:35 +09:00
index.ts enhance: “つながりの公開範囲”がフォロー・フォロワー個別設定できるように (#12702) 2023-12-18 20:59:20 +09:00
streaming.ts refactor: migrate to ESM 2024-01-20 13:57:03 +09:00
streaming.types.ts fix/refactor(reversi): 既存のバグを修正・型定義を強化 (#13105) 2024-01-30 20:54:30 +09:00