Skip to content
Snippets Groups Projects
  1. Feb 11, 2024
  2. Feb 10, 2024
  3. Feb 09, 2024
  4. Feb 08, 2024
  5. Feb 07, 2024
  6. Feb 06, 2024
  7. Feb 05, 2024
  8. Feb 04, 2024
    • dakkar's avatar
      keep cached avatar&banner when refresh fails to get new values (#13145) · dabf1867
      dakkar authored
      
      * keep cached avatar&banner when refresh fails to get new values
      
      when the remote explicitly tells us a user image is gone, we remove
      our cached value, but if we fail to get the image, we keep whatever
      value we already have
      
      this should minimise the problem of avatars randomly disappearing
      
      * autogen bits
      
      * pnpm run build-misskey-js-with-types
      
      ---------
      
      Co-authored-by: default avatartamaina <tamaina@hotmail.co.jp>
    • dakkar's avatar
      ignore `instance.actor` when checking if there are local users (#13146) · bafef1f8
      dakkar authored
      * 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
Loading