@@ -200,8 +200,8 @@ impl InboundGroupSession {
200200 PickledInboundGroupSession {
201201 pickle : InboundGroupSessionPickle :: from ( pickle) ,
202202 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 ( ) ,
205205 forwarding_chains : self . forwarding_key_chain ( ) . to_vec ( ) ,
206206 imported : self . imported ,
207207 backed_up : self . backed_up ( ) ,
@@ -261,11 +261,11 @@ impl InboundGroupSession {
261261
262262 ExportedRoomKey {
263263 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 ( ) ,
266266 session_id : self . session_id ( ) . to_owned ( ) ,
267267 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 ( ) ,
269269 session_key,
270270 }
271271 }
0 commit comments