Skip to main content

dm_pair_key

Function dm_pair_key 

Source
pub fn dm_pair_key(a: i64, b: i64) -> String
Expand description

(lo, hi)-ordered pair key for a DM between two internal user ids — the same trick dm_conversations already uses (dm_db.rs), reused here for rooms.dm_pair_key. pub(crate) — also used by the P12 legacy-DM migration.