File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
crates/matrix-sdk-crypto/src/session_manager/group_sessions Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -117,16 +117,6 @@ impl GroupSessionCache {
117117 }
118118 }
119119
120- /// Get an outbound group session for a room, if one exists.
121- ///
122- /// # Arguments
123- ///
124- /// * `room_id` - The id of the room for which we should get the outbound
125- /// group session.
126- fn get ( & self , room_id : & RoomId ) -> Option < OutboundGroupSession > {
127- self . sessions . read ( ) . get ( room_id) . cloned ( )
128- }
129-
130120 /// Returns whether any session is withheld with the given device and code.
131121 fn has_session_withheld_to ( & self , device : & DeviceData , code : & WithheldCode ) -> bool {
132122 self . sessions . read ( ) . values ( ) . any ( |s| s. sharing_view ( ) . is_withheld_to ( device, code) )
You can’t perform that action at this time.
0 commit comments