# Let users configure their own push notification time window

**URL:** https://meta.discourse.org/t/let-users-configure-their-own-push-notification-time-window/259778
**Category:** Feature
**Created:** [March 29, 2023, 12:23am UTC](https://meta.discourse.org/t/let-users-configure-their-own-push-notification-time-window/259778 "2023-03-29T00:23:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)
#### Post date: [March 29, 2023, 12:23am UTC](https://meta.discourse.org/t/let-users-configure-their-own-push-notification-time-window/259778/1 "2023-03-29T00:23:33Z")

</div>

`push_notification_time_window` is a site-wide setting; it’s 10 minutes by default.

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/c/a/8ca6b6eb6fdc5e834d618b504473aa8a005559ce.png)

> Wait (n) minutes before sending push notification. Helps prevent push notifications from being sent to an active online user.

I think this should be a user preference, instead of a site-wide setting. Some users might prefer 0-minute window or 1-minute window (especially when they’re testing push notifications); others might prefer a 10 minute window, or an even longer window.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 29, 2023, 6:36am UTC](https://meta.discourse.org/t/let-users-configure-their-own-push-notification-time-window/259778/2 "2023-03-29T06:36:30Z")

</div>

I worry though that it is hard to explain.

What is the precedence here in Slack/Discord/Teams etc?

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [March 29, 2023, 7:45am UTC](https://meta.discourse.org/t/let-users-configure-their-own-push-notification-time-window/259778/3 "2023-03-29T07:45:50Z")

</div>

Slack: click You (bottom right), Notifications, Notify Me on Mobile,

 ![afbeelding](https://global.discourse-cdn.com/meta/original/4X/f/3/e/f3e72b669d77619e5556b061d705bbd4ae59e330.png)

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [March 29, 2023, 1:29pm UTC](https://meta.discourse.org/t/let-users-configure-their-own-push-notification-time-window/259778/4 "2023-03-29T13:29:42Z")

</div>

I support a user preference for this, there is precedent in the email notification preference:

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/4/f/34f4c1faf4c1bebcdcceb8dbd5d6ec183e557bb8.png)

With push notifications, the “never” option doesn’t make sense there, that should respect the existing toggle.

We’re also currently inconsistent between browser push notifications and native app push notifications:

- browser push notifications respect the `push_notification_time_window` setting
- DiscourseHub push notifications do not respect it, they get sent immediately
