diff --git a/src/Matrix/Settings.elm b/src/Matrix/Settings.elm index 7703695..6a85e2f 100644 --- a/src/Matrix/Settings.elm +++ b/src/Matrix/Settings.elm @@ -68,4 +68,4 @@ getSyncTime (Vault vault) = -} setSyncTime : Int -> Vault -> Vault setSyncTime time (Vault vault) = - Vault <| Envelope.mapSettings (\s -> { s | syncTime = time }) vault + Vault <| Envelope.mapSettings (\s -> { s | syncTime = max 1 time }) vault