From 9a572eb9f56507fbdfdbd232a14b3529a24c77df Mon Sep 17 00:00:00 2001 From: mattyatea Date: Sun, 12 May 2024 02:00:06 +0900 Subject: [PATCH] update --- .../src/core/FanoutTimelineEndpointService.ts | 1 + .../frontend/src/pages/avatar-decorations.vue | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/packages/backend/src/core/FanoutTimelineEndpointService.ts b/packages/backend/src/core/FanoutTimelineEndpointService.ts index 884723ff81..ec3e54d32a 100644 --- a/packages/backend/src/core/FanoutTimelineEndpointService.ts +++ b/packages/backend/src/core/FanoutTimelineEndpointService.ts @@ -100,6 +100,7 @@ export class FanoutTimelineEndpointService { if (ps.me) { const me = ps.me; + const [ userIdsWhoMeMuting, userIdsWhoMeMutingRenotes, diff --git a/packages/frontend/src/pages/avatar-decorations.vue b/packages/frontend/src/pages/avatar-decorations.vue index 794bcb8843..3130f844af 100644 --- a/packages/frontend/src/pages/avatar-decorations.vue +++ b/packages/frontend/src/pages/avatar-decorations.vue @@ -9,6 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only SelectMode Set Category + Delete
1) { + for (let i = 0; i < selectItemsId.value.length; i++) { + let decorationId = selectItemsId.value[i]; + await misskeyApi('admin/avatar-decorations/delete', { + id: decorationId, + category: result, + }); + } + } +} + const headerActions = computed(() => [{ asFullButton: true, icon: 'ti ti-plus',