Skip to main content

carry_over

Function carry_over 

Source
pub fn carry_over(stored: &Value, incoming: &mut Value)
Expand description

An account is written again with a context that doesn’t carry what the stored one had: a re-login that rebuilds it as { "email": .. }, or a client holding a copy from before numbering. Keep the stored number when the new context has none and names the same address (or none: the email backfill settles that on the next list, and drops the number if it really changed).