From 6ca5cf1c619a387469aeb50447b2f2d7cd408b7e Mon Sep 17 00:00:00 2001 From: NoriDev Date: Tue, 8 Oct 2024 13:22:11 +0900 Subject: [PATCH] =?UTF-8?q?enhance(backend):=20`Sharkey`=EB=A5=BC=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9=ED=95=98=EB=8A=94=20=EC=84=9C=EB=B2=84?= =?UTF-8?q?=EC=9D=98=20=EC=82=AC=EC=9A=A9=EC=9E=90=EA=B0=80=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=ED=95=9C=20=EC=95=84=EB=B0=94=ED=83=80=20=EC=9E=A5?= =?UTF-8?q?=EC=8B=9D=EC=9D=84=20=EC=9E=90=EB=8F=99=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=B6=88=EB=9F=AC=EC=98=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG_CHERRYPICK.md | 1 + packages/backend/src/core/AvatarDecorationService.ts | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG_CHERRYPICK.md b/CHANGELOG_CHERRYPICK.md index 8835ec59b5..acc7e75dac 100644 --- a/CHANGELOG_CHERRYPICK.md +++ b/CHANGELOG_CHERRYPICK.md @@ -107,6 +107,7 @@ Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#2024xx](CHANGE - Enhance: 보안 향상을 위해 비밀번호 해싱 알고리즘이 `bcrypt`에서 `argon2`로 변경됨 (kokonect-link/cherrypick#511) - 이제 72 바이트를 초과하는 비밀번호를 사용할 수 있습니다. - 이로써 `Sharkey`, `FireFish`, `IceShrimp` 등의 클라이언트에서 `CherryPick`으로 이전할 때 암호 호환성이 보장됩니다. +- Enhance: `Sharkey`를 사용하는 서버의 사용자가 설정한 아바타 장식을 자동으로 불러옴 - Fix: 이모지를 등록하거나 가져오려고 할 때 오류가 발생할 수 있음 (kokonect-link/cherrypick#487), (kokonect-link/cherrypick#508) - Fix: 사용자 이름에 `.`이 있는 경우 멘션을 할 수 없음 (kokonect-link/cherrypick#509) diff --git a/packages/backend/src/core/AvatarDecorationService.ts b/packages/backend/src/core/AvatarDecorationService.ts index 0a8085d4d2..4093b2c452 100644 --- a/packages/backend/src/core/AvatarDecorationService.ts +++ b/packages/backend/src/core/AvatarDecorationService.ts @@ -128,9 +128,7 @@ export class AvatarDecorationService implements OnApplicationShutdown { const userHostUrl = `https://${user.host}`; const showUserApiUrl = `${userHostUrl}/api/users/show`; - if (instance?.softwareName !== 'misskey' && instance?.softwareName !== 'cherrypick') { - return; - } + if (!['misskey', 'cherrypick', 'sharkey'].includes(instance?.softwareName)) return; const res = await this.httpRequestService.send(showUserApiUrl, { method: 'POST',