nyaruka / rapidsms-httprouter

Implements a router in the HTTP thread, one message per call.
http://www.nyaruka.com/
40 stars 38 forks source link

added support for tracking message delivery times #4

Closed takinbo closed 12 years ago

takinbo commented 12 years ago

Implementing this was trivially simple by adding an "updated" field which gets updated each time the model is updated. Without any extra intervention, each time the model's status gets updated, this field gets updated with the current system time.

The last state an outgoing message gets updated to is the "delivered" state. At this stage, the "updated" field gets the time the message was delivered.