integreat-cms
integreat-cms copied to clipboard
Retry sending failed push notifications that were intended to be sent immediately
Short description
This pull request modifies the push notification command to also collect all push notifications that were intended to be sent immediately but failed, as long as they are within the FCM_NOTIFICATION_RETAIN_TIME_IN_HOURS. The discussion regarding this behavior can be found here.
Proposed changes
- Implement unit test
- Collect failed push notifications in
send_push_notifications.py