Selase Krakani
7ba115769a
DEV: Skip push notifications for active online users ( #19502 )
...
* DEV: Skip push notifications for active online users
Currently, users with active push subscriptions get push notifications
regardless of their "presence" on the site.
This change introduces a `push_notification_time_window_mins`
site setting which is used in conjunction with a user's `last_seen_at` to
determine if push notifications should be sent. A user is considered to
be actively online if their `last_seen_at` is within `push_notification_time_window_mins`
minutes. `push_notification_time_window_mins` is set to 10 by default.
* DEV: Remove client param for push_notification_time_window_mins site setting
Co-authored-by: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-authored-by: Bianca Nenciu <nbianca@users.noreply.github.com>
2022-12-19 20:17:40 +00:00
..
2019-11-04 14:47:00 +05:30
2022-11-01 14:05:13 -05:00
2022-11-30 11:52:08 -03:00
2022-10-27 06:38:50 +08:00
2020-04-27 11:50:21 +08:00
2019-10-02 14:01:53 +10:00
2022-10-04 18:41:06 +03:00
2020-05-02 18:02:28 -07:00
2021-01-19 13:30:58 +10:00
2021-01-19 13:30:58 +10:00
2021-05-21 11:43:47 +10:00
2021-10-20 22:20:52 +01:00
2019-10-02 14:01:53 +10:00
2020-10-16 13:41:27 +03:00
2019-10-02 14:01:53 +10:00
2020-11-11 00:44:27 +05:30
2020-02-19 10:18:05 -05:00
2022-06-17 14:50:21 +02:00
2019-10-02 14:01:53 +10:00
2021-02-05 10:12:56 +10:00
2021-01-19 13:30:58 +10:00
2019-10-02 14:01:53 +10:00
2019-12-12 12:49:21 +10:00
2019-10-02 14:01:53 +10:00
2022-11-01 16:33:17 +00:00
2019-10-02 14:01:53 +10:00
2022-01-05 18:45:08 +01:00
2022-11-11 11:07:32 +00:00
2019-10-02 14:01:53 +10:00
2020-05-11 13:32:37 -03:00
2022-03-11 11:57:47 +01:00
2022-03-11 11:57:47 +01:00
2022-04-28 11:51:03 +02:00
2020-12-01 09:30:53 +08:00
2021-03-16 17:08:54 +02:00
2019-10-02 14:01:53 +10:00
2020-04-20 15:11:59 -04:00
2021-07-15 05:53:26 +03:00
2020-12-10 15:52:08 +11:00
2020-01-29 11:03:47 +11:00
2022-10-06 11:10:43 +11:00
2019-10-02 14:01:53 +10:00
2020-03-05 11:13:43 -08:00
2022-12-08 09:44:29 +08:00
2022-07-20 19:07:18 +03:00
2021-05-21 11:43:47 +10:00
2019-10-02 14:01:53 +10:00
2021-08-25 11:17:56 +08:00
2019-10-21 20:25:35 +03:00
2021-01-20 13:22:41 +10:00
2022-05-23 14:28:02 +01:00
2022-02-15 14:17:26 +10:00
2022-08-11 11:33:41 -03:00
2021-01-19 13:30:58 +10:00
2022-09-29 09:24:33 +10:00
2022-05-24 11:52:13 +01:00
2021-03-04 07:07:37 -07:00
2019-10-02 14:01:53 +10:00
2019-11-28 07:32:17 +10:00
2022-12-01 07:09:57 +08:00
2021-06-24 11:35:36 +02:00
2019-10-02 14:01:53 +10:00
2020-03-09 17:37:49 +01:00
2022-12-19 20:17:40 +00:00
2019-10-02 14:01:53 +10:00
2022-02-04 18:28:18 +00:00
2022-09-29 09:24:33 +10:00
2022-05-23 10:07:15 +10:00
2021-01-13 08:49:29 +10:00
2020-04-03 16:42:01 +01:00
2021-01-19 13:30:58 +10:00
2019-10-02 14:01:53 +10:00
2021-06-24 11:35:36 +02:00
2020-09-02 20:19:46 -06:00
2019-10-02 14:01:53 +10:00
2022-08-13 22:40:26 +02:00
2021-06-21 19:15:24 +03:00
2020-01-14 17:23:12 +01:00
2019-10-02 14:01:53 +10:00
2020-01-23 12:01:10 +10:00
2020-09-02 11:17:17 +08:00
2022-04-18 13:32:11 -05:00