[web/lib] add sequential decrypt to olmAPI
Summary:
Binding to olm method to sequential decrypt. Implementing different because this method will also be responsible for persisting message in SQLite (added later in the stack).
Depends on D11718
Test Plan:
Created session between two web clients:
- Sending couple of encrypted messsages
- Sending messages with wrong order -> OLM_MESSAGE_OUT_OF_ORDER
- Sending the same message multiple times -> OLM_ALREADY_DECRYPTED_OR_KEYS_SKIPPED
Reviewers: tomek, marcin
Reviewed By: marcin
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D11719