Merge branch 'forwardkey-fix-setverified' into 'master'

[RoomKeyRequest] Fix forwardKey

See merge request famedly/famedlysdk!254
This commit is contained in:
Christian Pauly 2020-03-31 15:22:59 +00:00
commit ae94e290f7

View file

@ -21,7 +21,7 @@ class RoomKeyRequest extends ToDeviceEvent {
for (final key in session.forwardingCurve25519KeyChain) {
forwardedKeys.add(key);
}
await requestingDevice.setVerified(true, client);
await requestingDevice?.setVerified(true, client);
var message = session.content;
message['forwarding_curve25519_key_chain'] = forwardedKeys;