Commit 2860366
Fix broken local uri's when relaunching the app (#74)
* Fix broken localUri's for attachments that do exist
E.g. when rebuilding an app the system relocates the app's sandbox which gets a new path each run, which breaks the stored local uri's
* Clear any local uri's for archived attachments
I had a bunch of these, not sure if they got in that state from my experimenting/testing with broken local uri's (before arriving at the fix in the previous commit fcadf00)
* Run verify attachments immediately when creating the AttachmentQueue
To repair broken localUri's without requiring start sync, e.g. using an app before signing in/subscribing
---------
Co-authored-by: stevensJourney <51082125+stevensJourney@users.noreply.github.com>1 parent 7d362df commit 2860366
1 file changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
339 | 349 | | |
340 | 350 | | |
341 | 351 | | |
| |||
463 | 473 | | |
464 | 474 | | |
465 | 475 | | |
466 | | - | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
467 | 485 | | |
468 | 486 | | |
469 | 487 | | |
| |||
0 commit comments