Compare commits

...

8 Commits

4 changed files with 10 additions and 11 deletions

View File

@ -64,6 +64,7 @@
- Fix: FTT無効時にユーザーリストタイムラインが使用できない問題を修正 - Fix: FTT無効時にユーザーリストタイムラインが使用できない問題を修正
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/709) (Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/709)
- Fix: User Webhookテスト機能のMock Payloadを修正 - Fix: User Webhookテスト機能のMock Payloadを修正
- Fix: アカウント削除のモデレーションログが動作していないのを修正 (#14996)
### Misskey.js ### Misskey.js
- Fix: Stream初期化時、別途WebSocketを指定する場合の型定義を修正 - Fix: Stream初期化時、別途WebSocketを指定する場合の型定義を修正

View File

@ -46,7 +46,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
throw new Error('cannot delete a root account'); throw new Error('cannot delete a root account');
} }
await this.deleteAccoountService.deleteAccount(user); await this.deleteAccoountService.deleteAccount(user, me);
}); });
} }
} }

View File

@ -33,13 +33,13 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
private deleteAccountService: DeleteAccountService, private deleteAccountService: DeleteAccountService,
) { ) {
super(meta, paramDef, async (ps) => { super(meta, paramDef, async (ps, me) => {
const user = await this.usersRepository.findOneByOrFail({ id: ps.userId }); const user = await this.usersRepository.findOneByOrFail({ id: ps.userId });
if (user.isDeleted) { if (user.isDeleted) {
return; return;
} }
await this.deleteAccountService.deleteAccount(user); await this.deleteAccountService.deleteAccount(user, me);
}); });
} }
} }

View File

@ -1319,19 +1319,16 @@ html[data-color-scheme=light] .preview {
.footerLeft { .footerLeft {
flex: 1; flex: 1;
display: grid; display: flex;
grid-auto-flow: row; height: 40px;
grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); overflow: auto;
grid-auto-rows: 40px;
} }
.footerRight { .footerRight {
flex: 0; flex: 0;
margin-left: auto; margin-left: auto;
display: grid; display: flex;
grid-auto-flow: row; height: 40px;
grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
grid-auto-rows: 40px;
direction: rtl; direction: rtl;
} }
@ -1341,6 +1338,7 @@ html[data-color-scheme=light] .preview {
margin: 0; margin: 0;
font-size: 1em; font-size: 1em;
width: auto; width: auto;
min-width: 42px;
height: 100%; height: 100%;
border-radius: 6px; border-radius: 6px;