[RoomKeyRequest] Fix forwardKey
This commit is contained in:
parent
c04c287a28
commit
0dcc818365
|
@ -21,7 +21,7 @@ class RoomKeyRequest extends ToDeviceEvent {
|
||||||
for (final key in session.forwardingCurve25519KeyChain) {
|
for (final key in session.forwardingCurve25519KeyChain) {
|
||||||
forwardedKeys.add(key);
|
forwardedKeys.add(key);
|
||||||
}
|
}
|
||||||
await requestingDevice.setVerified(true, client);
|
await requestingDevice?.setVerified(true, client);
|
||||||
var message = session.content;
|
var message = session.content;
|
||||||
message['forwarding_curve25519_key_chain'] = forwardedKeys;
|
message['forwarding_curve25519_key_chain'] = forwardedKeys;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue