[web] Restore logs
Summary:
After restoring the compaction we can restore the logs, using another key passed in the message.
Depends on D11043
Test Plan:
- Add logging to the native client so that it logs backupID and encryption keys for compaction and logs
- Upload a new compaction from native with a draft
- Add a new draft, so that there are logs created
- Send restore message on web with values logged from native
- Reload web app
- Check that both drafts (from compaction and logs) exists now on web. Check that the enabled apps are the same as before restore (redux persist didn't change)
Reviewers: marcin, bartek, kamil
Reviewed By: marcin, kamil
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D11044