fix: Get basic tests working

This commit is contained in:
2023-06-14 21:59:59 +02:00
parent f6f0e145cc
commit c483585d0b
9 changed files with 446 additions and 73 deletions

View File

@@ -36,11 +36,7 @@ class InvalidKeyExchangeException extends OmemoError implements Exception {
/// no key material available. That happens, for example, when we want to create a
/// ratchet session with a JID we had no session with but fetching the device bundle
/// failed.
class NoKeyMaterialAvailableException extends OmemoError
implements Exception {
String errMsg() =>
'No key material available to create a ratchet session with';
}
class NoKeyMaterialAvailableError extends OmemoError {}
/// A non-key-exchange message was received that was encrypted for our device, but we have no ratchet with
/// the device that sent the message.