Merge branch 'roomkeyrequest-fix-index' into 'master'
[RoomKeyRequest] Fix index See merge request famedly/famedlysdk!253
This commit is contained in:
commit
c04c287a28
|
@ -24,7 +24,8 @@ class RoomKeyRequest extends ToDeviceEvent {
|
||||||
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;
|
||||||
message['session_key'] = session.inboundGroupSession.export_session(0);
|
|
||||||
|
message['session_key'] = session.inboundGroupSession.export_session(session.inboundGroupSession.first_known_index());
|
||||||
await client.sendToDevice(
|
await client.sendToDevice(
|
||||||
[requestingDevice],
|
[requestingDevice],
|
||||||
'm.forwarded_room_key',
|
'm.forwarded_room_key',
|
||||||
|
|
|
@ -333,7 +333,7 @@ packages:
|
||||||
name: pedantic
|
name: pedantic
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.8.0+1"
|
version: "1.9.0"
|
||||||
pointycastle:
|
pointycastle:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue