keep cached avatar&banner when refresh fails to get new values (#13145)
* 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: tamaina <tamaina@hotmail.co.jp>
Showing
- packages/backend/src/core/activitypub/models/ApPersonService.ts 26 additions, 9 deletions...es/backend/src/core/activitypub/models/ApPersonService.ts
- packages/misskey-js/src/autogen/apiClientJSDoc.ts 1 addition, 1 deletionpackages/misskey-js/src/autogen/apiClientJSDoc.ts
- packages/misskey-js/src/autogen/endpoint.ts 1 addition, 1 deletionpackages/misskey-js/src/autogen/endpoint.ts
- packages/misskey-js/src/autogen/entities.ts 1 addition, 1 deletionpackages/misskey-js/src/autogen/entities.ts
- packages/misskey-js/src/autogen/models.ts 1 addition, 1 deletionpackages/misskey-js/src/autogen/models.ts
- packages/misskey-js/src/autogen/types.ts 1 addition, 1 deletionpackages/misskey-js/src/autogen/types.ts
Loading
Please register or sign in to comment