pub fn record_device_ack(
conn: &Connection,
user_id: i64,
device_id: &str,
stream_id: i64,
now_ms: i64,
) -> Result<()>Expand description
Records that device_id has received everything up to stream_id.
Monotonic: an older token never moves the ack back.