Usually we store the keys we want to upload first, then upload them, then store, that we uploaded them. So that should be fool proof. But. In some cases the filesyste lies to us and the database change isn't actually persisted yet. That can happen when someone turns of their phone aprubtly for example. In that case we generate new OTKs with the same id. Uploading that will fail, since they already exist server side. We can work around that by manually claiming them and removing them locally. |
||
|---|---|---|
| .. | ||
| encryption | ||
| msc_extensions | ||
| src | ||
| encryption.dart | ||
| matrix.dart | ||