Skip to main content

room_by_dm_pair_key

Function room_by_dm_pair_key 

Source
pub fn room_by_dm_pair_key(
    conn: &Connection,
    pair_key: &str,
) -> Result<Option<Room>>
Expand description

The room currently holding pair_key as its dm_pair_key, if any — the binary crate’s routes::matrix::rooms::create_room’s DM-reuse lookup (plan P5 correction: “a second DM between the same pair returns the existing room id only if it is still a live DM for both”).