mirror of
https://github.com/paricafe/misskey.git
synced 2025-02-26 06:54:24 -06:00
fix modified for stel
This commit is contained in:
parent
b9db59ce7f
commit
87ca834647
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ export class UserEntityService implements OnModuleInit {
|
||||||
: [];
|
: [];
|
||||||
const avatarDecorations = user.host == null
|
const avatarDecorations = user.host == null
|
||||||
? getLocalUserDecorations()
|
? getLocalUserDecorations()
|
||||||
: this.cacheService.stpvRemoteUserDecorationsCache.fetch(user.id).then(res => res.map(ad => ({
|
: this.cacheService.pariRemoteUserDecorationsCache.fetch(user.id).then(res => res.map(ad => ({
|
||||||
...ad,
|
...ad,
|
||||||
url: ad.url && this.config.proxyRemoteFiles
|
url: ad.url && this.config.proxyRemoteFiles
|
||||||
? `${this.config.mediaProxy}/static.webp?url=${(encodeURIComponent(ad.url))}`
|
? `${this.config.mediaProxy}/static.webp?url=${(encodeURIComponent(ad.url))}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue