Don't show potential session keys in logs
This commit is contained in:
parent
6170c79fe1
commit
c184dfba6b
|
@ -232,7 +232,7 @@ class OlmManager {
|
||||||
return event;
|
return event;
|
||||||
}
|
}
|
||||||
if (event.content['algorithm'] != 'm.olm.v1.curve25519-aes-sha2') {
|
if (event.content['algorithm'] != 'm.olm.v1.curve25519-aes-sha2') {
|
||||||
throw ('Unknown algorithm: ${event.content}');
|
throw ('Unknown algorithm: ${event.content['algorithm']}');
|
||||||
}
|
}
|
||||||
if (!event.content['ciphertext'].containsKey(identityKey)) {
|
if (!event.content['ciphertext'].containsKey(identityKey)) {
|
||||||
throw ("The message isn't sent for this device");
|
throw ("The message isn't sent for this device");
|
||||||
|
|
Loading…
Reference in a new issue