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
..
2020-07-20 15:23:49 -06:00
2019-12-12 11:45:00 +00:00
2021-12-09 12:30:27 +00:00
2019-04-30 10:27:42 +10:00
2022-05-23 10:07:15 +10:00
2022-07-26 01:47:09 +02:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2021-02-04 11:27:34 +11:00
2020-12-18 09:03:51 -06:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2021-11-25 09:34:39 +02:00
2019-04-30 10:27:42 +10:00
2021-12-23 08:40:15 +10:00
2019-04-30 10:27:42 +10:00
2021-06-15 11:29:46 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2020-11-03 12:38:54 +00:00
2022-02-28 20:50:55 +01:00
2019-04-30 10:27:42 +10:00
2019-07-19 11:29:12 +05:30
2020-06-09 20:49:32 +05:30
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2020-04-01 09:09:20 +10:00
2020-07-06 21:51:56 +02:00
2019-04-30 10:27:42 +10:00
2019-12-19 09:48:01 -08:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2022-09-30 08:44:04 +03:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2020-06-17 12:42:20 +02:00
2022-12-19 20:17:40 +00:00
2019-05-09 13:40:36 -04:00
2021-11-24 09:28:20 -06:00
2021-11-24 09:28:20 -06:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2022-06-30 14:54:20 +08:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2021-12-01 10:26:56 +08:00
2019-04-30 10:27:42 +10:00
2021-04-28 15:00:37 -07:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2022-02-11 09:00:58 +08:00
2019-04-30 10:27:42 +10:00
2020-04-22 20:49:53 +02:00
2022-04-19 11:37:01 +10:00
2022-11-25 12:40:31 +11:00
2022-05-10 10:42:18 +10:00
2020-10-19 10:40:55 +01:00
2019-04-30 10:27:42 +10:00
2022-10-27 11:26:14 +08:00
2019-04-30 10:27:42 +10:00
2022-12-16 18:42:51 +02:00
2019-04-30 10:27:42 +10:00
2021-07-30 13:50:47 -04:00
2022-05-27 13:58:54 +04:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-10-01 19:08:41 -07:00
2022-05-27 13:15:14 +04:00
2020-04-22 20:49:53 +02:00
2020-04-22 20:49:53 +02:00
2022-02-22 10:57:18 +01:00