Merge branch 'braid/dendrite-e2ee' into 'main'

fix: follow-up OLM matcher

See merge request famedly/company/frontend/famedlysdk!1216
This commit is contained in:
td 2023-01-19 16:35:29 +00:00
commit 660d604565
1 changed files with 8 additions and 6 deletions

View File

@ -313,13 +313,15 @@ void main() => group('Integration tests', () {
await room.sendTextEvent(testMessage4);
await Future.delayed(Duration(seconds: 7));
expect(
testClientA.encryption!.olmManager
.olmSessions[testClientB.identityKey]!.length,
1);
testClientA.encryption!.olmManager
.olmSessions[testClientB.identityKey]!.length,
olmLengthMatcher,
);
expect(
testClientB.encryption!.olmManager
.olmSessions[testClientA.identityKey]!.length,
1);
testClientB.encryption!.olmManager
.olmSessions[testClientA.identityKey]!.length,
olmLengthMatcher,
);
expect(
testClientA.encryption!.olmManager
.olmSessions[testClientB.identityKey]!.first.sessionId,