1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 21:15:45 +02:00

enhance(frontend): ブラウザの通知権限をより確実に取得できるように (#16758)

* enhance(frontend): ブラウザの通知権限をより確実に取得できるように

* Update Changelog
This commit is contained in:
かっこかり
2025-11-06 12:36:36 +09:00
committed by GitHub
parent 0edb0133fc
commit 290fd8c7cc
5 changed files with 37 additions and 10 deletions

View File

@@ -303,13 +303,6 @@ export async function mainBoot() {
});
}
if ('Notification' in window) {
// 許可を得ていなかったらリクエスト
if (Notification.permission === 'default') {
Notification.requestPermission();
}
}
if (store.s.realtimeMode) {
const stream = useStream();