fix: switch to notif rate
This commit is contained in:
1 parent
23a4d91970
commit
bdd18d71fb
1 file changed
+4
-1
+4
-1
@@ -274,4 +274,7 @@ export async function getInboxNotifications(dontUpdate: boolean = false) {
|
|||||||
localStorage.setItem('seenUntil', Date.now().toString())
|
localStorage.setItem('seenUntil', Date.now().toString())
|
||||||
}
|
}
|
||||||
|
|
||||||
setInterval(async () => getInboxNotifications(), 30 * 1000)
|
setInterval(
|
||||||
|
async () => getInboxNotifications(),
|
||||||
|
get(userSettings).notifications.notifRate || 30 * 1000
|
||||||
|
)
|
||||||
Reference in new issue
Block a user