@@ -200,8 +200,8 @@ impl InboundGroupSession {
200
200
PickledInboundGroupSession {
201
201
pickle : InboundGroupSessionPickle :: from ( pickle) ,
202
202
sender_key : self . sender_key . to_string ( ) ,
203
- signing_key : ( & * self . signing_keys ) . clone ( ) ,
204
- room_id : ( & * self . room_id ) . to_owned ( ) ,
203
+ signing_key : ( * self . signing_keys ) . clone ( ) ,
204
+ room_id : ( * self . room_id ) . to_owned ( ) ,
205
205
forwarding_chains : self . forwarding_key_chain ( ) . to_vec ( ) ,
206
206
imported : self . imported ,
207
207
backed_up : self . backed_up ( ) ,
@@ -261,11 +261,11 @@ impl InboundGroupSession {
261
261
262
262
ExportedRoomKey {
263
263
algorithm : EventEncryptionAlgorithm :: MegolmV1AesSha2 ,
264
- room_id : ( & * self . room_id ) . to_owned ( ) ,
265
- sender_key : ( & * self . sender_key ) . to_owned ( ) ,
264
+ room_id : ( * self . room_id ) . to_owned ( ) ,
265
+ sender_key : ( * self . sender_key ) . to_owned ( ) ,
266
266
session_id : self . session_id ( ) . to_owned ( ) ,
267
267
forwarding_curve25519_key_chain : self . forwarding_key_chain ( ) . to_vec ( ) ,
268
- sender_claimed_keys : ( & * self . signing_keys ) . clone ( ) ,
268
+ sender_claimed_keys : ( * self . signing_keys ) . clone ( ) ,
269
269
session_key,
270
270
}
271
271
}
0 commit comments