# Can't keep desktop push notifications enabled

**URL:** https://meta.discourse.org/t/cant-keep-desktop-push-notifications-enabled/104954
**Category:** Bug
**Created:** [December 23, 2018, 4:48pm UTC](https://meta.discourse.org/t/cant-keep-desktop-push-notifications-enabled/104954 "2018-12-23T16:48:24Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![L30110](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@L30110](https://meta.discourse.org/u/L30110)
#### Post date: [December 23, 2018, 4:48pm UTC](https://meta.discourse.org/t/cant-keep-desktop-push-notifications-enabled/104954/1 "2018-12-23T16:48:25Z")

</div>

I’ve been continuing to try get desktop push to stay enabled. The plugin is installed and enabled, but users report (and this includes me as admin) that when they try to choose the “prefer desktop notifications” setting, it seems to set, but then is unset the next time they visit that settings page (including a simple refresh of the page). No error messages per se are appearing. Any ideas? I do have users who would like to make use of this feature. Thanks!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 24, 2018, 1:35am UTC](https://meta.discourse.org/t/cant-keep-desktop-push-notifications-enabled/104954/2 "2018-12-24T01:35:12Z")

</div>

I can repro this on meta, though, so more likely a bug. cc @falco

Not sure the status of this since the notifications story is so muddied, but if it helps, this is on Windows 10 / Chrome.

---

<div class="post-metadata">

### Author: ![L30110](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@L30110](https://meta.discourse.org/u/L30110)
#### Post date: [December 24, 2018, 1:47am UTC](https://meta.discourse.org/t/cant-keep-desktop-push-notifications-enabled/104954/3 "2018-12-24T01:47:46Z")

</div>

Ubuntu 16.04 server here.

---

<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: [December 25, 2018, 12:38pm UTC](https://meta.discourse.org/t/cant-keep-desktop-push-notifications-enabled/104954/4 "2018-12-25T12:38:54Z")

</div>

More likely a question for @tgxworld, he can have a look next week, adding to his list for now.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [December 26, 2018, 4:15am UTC](https://meta.discourse.org/t/cant-keep-desktop-push-notifications-enabled/104954/6 "2018-12-26T04:15:22Z")

</div>

We missed this plugin when we updated the code in core to only allow custom fields that has been whitelisted to be edited. Fixed in

[https://github.com/discourse/discourse-push-notifications/commit/775a4c81b9dcb424243af64a61b0a7a6c81606b8](https://github.com/discourse/discourse-push-notifications/commit/775a4c81b9dcb424243af64a61b0a7a6c81606b8)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [December 26, 2018, 4:32am UTC](https://meta.discourse.org/t/cant-keep-desktop-push-notifications-enabled/104954/7 "2018-12-26T04:32:16Z")

</div>


