Skip to main content

build_keys_changes_response

Function build_keys_changes_response 

Source
pub fn build_keys_changes_response(
    conn: &Connection,
    caller_user_id: i64,
    from_exclusive: i64,
    to_inclusive: i64,
) -> Result<Value, MatrixError>
Expand description

DB-only core for GET /keys/changes (plan §3.7 / P9 brief): the same device_lists delta /sync reports for (from, to] (device_list_delta) — device-list changes and newly shared encrypted rooms among users the caller can see (changed), and users who no longer share any room with the caller (left).