mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-18 11:32:56 +09:00
This commit is contained in:
parent
8d3669193f
commit
c6e0a2eb26
@ -94,7 +94,7 @@ init(async (launch) => {
|
||||
/**
|
||||
* Init Notification
|
||||
*/
|
||||
if ('Notification' in window) {
|
||||
if ('Notification' in window && os.store.getters.isSignedIn) {
|
||||
// 許可を得ていなかったらリクエスト
|
||||
if ((Notification as any).permission == 'default') {
|
||||
await Notification.requestPermission();
|
||||
|
Loading…
Reference in New Issue
Block a user