|
JS8Call-Improved master
|
Tracks stored message notification attempts, keyed by the inbox message id. More...
#include <MsgNotifyDB.h>
Tracks stored message notification attempts, keyed by the inbox message id.
Stores the last time we proactively sent a directed "<CALL> RETRIEVE MSG <mid>" notification for a given stored message, in a dedicated SQLite database (msg_notify.db3). This lets pushNotificationHandler() throttle re-notification to no more than once every 8 hours per message, and persists across program restarts
The row for a message id is removed once the message is delivered (QUERY MSG retrieval) or deleted from the inbox, at which point notifications for it simply stop.