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

@ -315,11 +315,13 @@ void main() => group('Integration tests', () {
expect( expect(
testClientA.encryption!.olmManager testClientA.encryption!.olmManager
.olmSessions[testClientB.identityKey]!.length, .olmSessions[testClientB.identityKey]!.length,
1); olmLengthMatcher,
);
expect( expect(
testClientB.encryption!.olmManager testClientB.encryption!.olmManager
.olmSessions[testClientA.identityKey]!.length, .olmSessions[testClientA.identityKey]!.length,
1); olmLengthMatcher,
);
expect( expect(
testClientA.encryption!.olmManager testClientA.encryption!.olmManager
.olmSessions[testClientB.identityKey]!.first.sessionId, .olmSessions[testClientB.identityKey]!.first.sessionId,