feat: _decryptMessage explicitly tells us that a ratchet was created

This commit is contained in:
2022-12-27 00:49:16 +01:00
parent 54eeb816eb
commit 6c4dd62c5a
2 changed files with 49 additions and 33 deletions

View File

@@ -71,9 +71,10 @@ void main() {
),
);
expect(bobResult.payload, 'Hello world');
expect(bobResult.error, null);
expect(aliceEmptyMessageSent, 0);
expect(bobEmptyMessageSent, 1);
expect(bobResult.payload, 'Hello world');
// Alice receives the ack message
await aliceManager.ratchetAcknowledged(