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
..
2022-09-29 09:24:33 +10:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-03-01 17:50:50 +00:00
2022-08-04 11:05:02 +02:00
2022-11-30 11:52:08 -03:00
2022-05-23 10:07:15 +10:00
2022-07-28 10:27:38 +08:00
2022-10-04 18:41:06 +03:00
2022-07-28 10:27:38 +08:00
2022-12-19 11:36:04 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-03-01 17:50:50 +00:00
2022-07-26 10:34:15 +02:00
2022-08-04 11:05:02 +02:00
2022-10-07 11:00:44 -04:00
2022-03-01 17:50:50 +00:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-09-13 12:43:24 -03:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-11-01 16:33:17 +00:00
2022-07-28 10:27:38 +08:00
2022-08-04 11:05:02 +02:00
2022-07-28 10:27:38 +08:00
2022-08-04 11:05:02 +02:00
2022-07-28 10:27:38 +08:00
2022-11-11 11:07:32 +00:00
2022-08-04 11:05:02 +02:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-08-04 11:05:02 +02:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-08-04 11:05:02 +02:00
2022-07-28 10:27:38 +08:00
2022-11-02 10:47:59 +01:00
2022-11-02 10:47:59 +01:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-08-10 18:55:29 +03:00
2022-08-04 11:05:02 +02:00
2022-07-28 10:27:38 +08:00
2022-12-13 17:25:19 -07:00
2022-08-10 18:55:29 +03:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-08-04 11:05:02 +02:00
2022-08-04 11:05:02 +02:00
2022-08-04 11:05:02 +02:00
2022-07-28 10:27:38 +08:00
2022-08-04 11:05:02 +02:00
2022-03-01 17:50:50 +00:00
2022-03-01 17:50:50 +00:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-03-01 17:50:50 +00:00
2022-11-25 12:40:31 +11:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-03-01 17:50:50 +00:00
2022-12-01 07:09:57 +08:00
2022-07-28 10:27:38 +08:00
2022-08-04 11:05:02 +02:00
2022-07-28 10:27:38 +08:00
2022-12-19 20:17:40 +00:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-08-04 11:05:02 +02:00
2022-05-23 10:07:15 +10:00
2022-08-04 11:05:02 +02:00
2022-07-28 10:27:38 +08:00
2022-03-01 17:50:50 +00:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-07-28 10:27:38 +08:00
2022-03-01 17:50:50 +00:00
2022-08-04 11:05:02 +02:00