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);
|
||||
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