pub fn dm_room_id(user_a: &str, user_b: &str) -> Result<String, DmRoomError>Expand description
Compute the deterministic room ID for a DM between two users.
Sorts usernames alphabetically so /dm alice from bob and /dm bob from
alice both resolve to the same room.
ยงErrors
Returns DmRoomError::SameUser if both usernames are identical.