Andy Balaam
92342c07ed
Introduce Membership TS type (take 2) ( #4107 )
...
* Introduce Membership TS type
* Adapt the Membership TS type to be an enum
* Add docstrings for KnownMembership and Membership
* Move Membership types into a separate file, exported from types.ts
---------
Co-authored-by: Stanislav Demydiuk <s.demydiuk@gmail.com >
2024-03-18 12:47:23 +00:00
Valere
a1ff63adcb
ElementR: Ensure Encryption order per room ( #3973 )
...
* add test for order bug
* Ensure encryption order per room
* Remove unneeded fake timers
* review
* put back log duration
* fix wrong call
* code review
* Update src/rust-crypto/RoomEncryptor.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/rust-crypto/RoomEncryptor.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/rust-crypto/RoomEncryptor.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update spec/unit/rust-crypto/RoomEncryptor.spec.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update spec/unit/rust-crypto/RoomEncryptor.spec.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/rust-crypto/RoomEncryptor.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/rust-crypto/RoomEncryptor.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* fix link syntax
* remove xxx comment
* fix comment order
* Improve comment
* add log duration
* fix comment
* Update src/rust-crypto/RoomEncryptor.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
* Update src/rust-crypto/RoomEncryptor.ts
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2024-01-02 12:50:46 +00:00
Valere
2c13e133b7
ElementR: Ensure there is only one call to shareRoomKeys in flight at once ( #3948 )
...
* shareRoomKeys lock
* cleaning
* add test for lock
2023-12-18 09:26:00 +00:00
Florian Duros
4a4b454f27
Element-R: Wire up room history visibility ( #3805 )
...
* Wire up history visibility in `RoomEncryptor.ts`
* Add more tests to history visibility conversion
* Factorize `expectSendMessage` and `expectSendMegolmMessage`
* Use correct import
* Fix overwriteRoutes
* Update comments
2023-10-25 11:49:03 +00:00