pub fn receive_incoming_key_request(&self, event: &ToDeviceEvent<RoomKeyRequestEventContent>) {
        let sender = event.sender.clone();
        let device_id = event.content.requesting_device_id.clone();
        let request_id = event.content.request_id.clone();

        self.incoming_key_requests
            .insert((sender, device_id, request_id), event.clone());
    }
/// Receive a room key request event.
Receive a room key request event.
Receive a room key request event .
pub fn receive_incoming_key_request(&self, event: &ToDeviceEvent<RoomKeyRequestEventContent>) {
        let sender = event.sender.clone();
        let device_id = event.content.requesting_device_id.clone();
        let request_id = event.content.request_id.clone();
        self.incoming_key_requests
            .insert((sender, device_id, request_id), event.clone());
    }
pub fn receive_incoming_key_request ( & self , event : & ToDeviceEvent < RoomKeyRequestEventContent > ) { let sender = event . sender . clone ( ) ; let device_id = event . content . requesting_device_id . clone ( ) ; let request_id = event . content . request_id . clone ( ) ; self . incoming_key_requests . insert ( ( sender , device_id , request_id ) , event . clone ( ) ) ; }
Receive a room key request event.
Receive a room key request event .
&self
event
&ToDeviceEvent<RoomKeyRequestEventContent>
&self
event
&ToDeviceEvent<RoomKeyRequestEventContent>