Skip to main content

build_sync_response

Function build_sync_response 

Source
pub fn build_sync_response(
    conn: &Connection,
    typing: &TypingRegistry,
    caller_user_id: i64,
    caller_mxid: &str,
    caller_device_id: &str,
    since: Option<SyncToken>,
    filter: &SyncFilter,
    full_state: bool,
    now: Instant,
) -> Result<Value, MatrixError>