diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-06-03 21:06:37 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-06-03 21:06:37 +0900 |
| commit | b7aa013a41a56992da338181bdebd60ce99165b4 (patch) | |
| tree | d8a03db59524b22e767aa57cbccbfbc072e0732d /packages/frontend | |
| parent | Bump version to 2025.6.1-alpha.0 (diff) | |
| download | misskey-b7aa013a41a56992da338181bdebd60ce99165b4.tar.gz misskey-b7aa013a41a56992da338181bdebd60ce99165b4.tar.bz2 misskey-b7aa013a41a56992da338181bdebd60ce99165b4.zip | |
feat: 全てのチャットメッセージを既読にできるように
Diffstat (limited to 'packages/frontend')
| -rw-r--r-- | packages/frontend/src/pages/settings/other.vue | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/frontend/src/pages/settings/other.vue b/packages/frontend/src/pages/settings/other.vue index f09cc9c9bc..9459a9b326 100644 --- a/packages/frontend/src/pages/settings/other.vue +++ b/packages/frontend/src/pages/settings/other.vue @@ -128,6 +128,10 @@ SPDX-License-Identifier: AGPL-3.0-only <hr> + <MkButton @click="readAllChatMessages">Read all chat messages</MkButton> + + <hr> + <FormSlot> <MkButton danger @click="migrate"><i class="ti ti-refresh"></i> {{ i18n.ts.migrateOldSettings }}</MkButton> <template #caption>{{ i18n.ts.migrateOldSettings_description }}</template> @@ -214,6 +218,10 @@ function hideAllTips() { os.success(); } +function readAllChatMessages() { + os.apiWithDialog('chat/read-all', {}); +} + const headerActions = computed(() => []); const headerTabs = computed(() => []); |