matrix-org / complement-crypto

Apache License 2.0
6 stars 4 forks source link

Refactor TestUnprocessedToDeviceMessagesArentLostOnRestart #82

Closed kegsay closed 2 weeks ago

kegsay commented 3 weeks ago

Previously we cycled room keys by having a 2nd device logout, but it's a lot simpler to just set the rotation_period_msgs=1 and then send an event.

Did a few small changes to the rust test to make sure we're actually testing what we think we are.

Fixes https://github.com/matrix-org/complement-crypto/issues/37 (the test existed but may not have been correct, now it is)