Commit Graph

4 Commits

Author SHA1 Message Date
Matthew Holt
9aa8f6edf2 smsbackuprestore: Draw relations between participants in group messages 2019-07-14 14:36:41 -06:00
Matthew Holt
4bbfd951dc Keep relationships unique
Bidirectional is not part of the unique constraints because I don't
think it's relevant when checking for uniqueness.
2019-02-20 14:13:09 -07:00
Matthew Holt
aed5ece054 Bug fixes, esp. related to re-running get-latest after interruption
Before these changes, get-latest would always go until the most recent
item downloaded from the given account. This potentially skips items
if get-latest was interrupted, then run again later, because get-latest
will stop once it finds the most recent item downloaded, usually one
of the first things downloaded.

So, this adds a cursor/marker to the DB for the account so that we know
which item ID was most recent as part of the last successful run; that
way, interrupted runs will not move the cursor, and thus no items will
be lost simply because get-latest was too naive to know that it should
keep scanning until an older timestamp.
2019-02-16 18:20:23 -07:00
Matthew Holt
0ca48fecfd Initial commit 2019-01-19 20:28:53 -07:00