In Moor this was implemented but forgotten in Hive. Events with status 0 (not sent yet) should be marked as failed on restart. In fact they should be marked as failed if older than 1 minute. To not have a big startup job which iterates through all events in the database we just do a time check when opening a room where we iterate through all events anyway. The new implementation is now in the constructor of the Event and therefore independent from the database implementation. |
||
|---|---|---|
| .. | ||
| encryption | ||
| src | ||
| encryption.dart | ||
| matrix.dart | ||