Firetext does not have a status code for temporary-failure.

In order to set a message as temporary-failure, we check if it is in pending status first.
Otherwise a delivery receipt for failure is set to permanent failure.
This commit is contained in:
Rebecca Law
2016-05-26 16:46:00 +01:00
parent c5ec07a9ce
commit 25a1b7f31c
8 changed files with 208 additions and 154 deletions

View File

@@ -26,8 +26,8 @@ firetext_responses = {
'2': {
"message": 'Undelivered (Pending with Network)',
"success": True,
"notification_statistics_status": STATISTICS_DELIVERED,
"notification_status": 'delivered'
"notification_statistics_status": None,
"notification_status": 'pending'
}
}