Skip to content

Commit afd9d0b

Browse files
samunohitoSayamame-beans
authored andcommitted
fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する (misskey-dev#15033)
* fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する * fix CHANGELOG.md
1 parent 9c1c676 commit afd9d0b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2024.11.0-kinel.2
2+
3+
### Server
4+
- Fix: ユーザーのプロフィール画面をアドレス入力などで直接表示した際に概要タブの描画に失敗する問題の修正( #15032 )
5+
16
## 2024.11.0-kinel.1
27
## 2024.11.0 (merged to 2024.11.0-kinel.1)
38

packages/backend/src/server/web/ClientServerService.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,10 @@ export class ClientServerService {
585585
reply.header('X-Robots-Tag', 'noai');
586586
}
587587

588-
const _user = await this.userEntityService.pack(user);
588+
const _user = await this.userEntityService.pack(user, null, {
589+
schema: 'UserDetailed',
590+
userProfile: profile,
591+
});
589592

590593
return await reply.view('user', {
591594
user, profile, me,

0 commit comments

Comments
 (0)