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>
This commit is contained in:

committed by
GitHub

parent
bafef1f8b4
commit
dabf1867fd
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* version: 2024.2.0-beta.8
|
||||
* generatedAt: 2024-02-02T14:18:15.716Z
|
||||
* generatedAt: 2024-02-04T11:51:13.598Z
|
||||
*/
|
||||
|
||||
import type { SwitchCaseResponseType } from '../api.js';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* version: 2024.2.0-beta.8
|
||||
* generatedAt: 2024-02-02T14:18:15.712Z
|
||||
* generatedAt: 2024-02-04T11:51:13.595Z
|
||||
*/
|
||||
|
||||
import type {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* version: 2024.2.0-beta.8
|
||||
* generatedAt: 2024-02-02T14:18:15.709Z
|
||||
* generatedAt: 2024-02-04T11:51:13.593Z
|
||||
*/
|
||||
|
||||
import { operations } from './types.js';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* version: 2024.2.0-beta.8
|
||||
* generatedAt: 2024-02-02T14:18:15.708Z
|
||||
* generatedAt: 2024-02-04T11:51:13.592Z
|
||||
*/
|
||||
|
||||
import { components } from './types.js';
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
/*
|
||||
* version: 2024.2.0-beta.8
|
||||
* generatedAt: 2024-02-02T14:18:15.529Z
|
||||
* generatedAt: 2024-02-04T11:51:13.473Z
|
||||
*/
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user