[RoomKeyRequest] Fix index
This commit is contained in:
parent
d2807f75e0
commit
5f140a62ad
|
@ -24,7 +24,8 @@ class RoomKeyRequest extends ToDeviceEvent {
|
|||
await requestingDevice.setVerified(true, client);
|
||||
var message = session.content;
|
||||
message['forwarding_curve25519_key_chain'] = forwardedKeys;
|
||||
message['session_key'] = session.inboundGroupSession.export_session(0);
|
||||
|
||||
message['session_key'] = session.inboundGroupSession.export_session(session.inboundGroupSession.first_known_index());
|
||||
await client.sendToDevice(
|
||||
[requestingDevice],
|
||||
'm.forwarded_room_key',
|
||||
|
|
|
@ -333,7 +333,7 @@ packages:
|
|||
name: pedantic
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.8.0+1"
|
||||
version: "1.9.0"
|
||||
pointycastle:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
Loading…
Reference in a new issue