commit
						5aebeddd29
					
				
							
								
								
									
										2
									
								
								elm.json
								
								
								
								
							
							
						
						
									
										2
									
								
								elm.json
								
								
								
								
							|  | @ -3,7 +3,7 @@ | ||||||
|     "name": "noordstar/elm-matrix-sdk-beta", |     "name": "noordstar/elm-matrix-sdk-beta", | ||||||
|     "summary": "Matrix SDK for instant communication. Unstable beta version for testing only.", |     "summary": "Matrix SDK for instant communication. Unstable beta version for testing only.", | ||||||
|     "license": "EUPL-1.1", |     "license": "EUPL-1.1", | ||||||
|     "version": "2.1.0", |     "version": "2.1.1", | ||||||
|     "exposed-modules": [ |     "exposed-modules": [ | ||||||
|         "Matrix", |         "Matrix", | ||||||
|         "Matrix.Event", |         "Matrix.Event", | ||||||
|  |  | ||||||
|  | @ -23,7 +23,7 @@ will assume until overriden by the user. | ||||||
| -} | -} | ||||||
| currentVersion : String | currentVersion : String | ||||||
| currentVersion = | currentVersion = | ||||||
|     "beta 2.1.0" |     "beta 2.1.1" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| {-| The default device name that is being communicated with the Matrix API. | {-| The default device name that is being communicated with the Matrix API. | ||||||
|  |  | ||||||
|  | @ -68,4 +68,4 @@ getSyncTime (Vault vault) = | ||||||
| -} | -} | ||||||
| setSyncTime : Int -> Vault -> Vault | setSyncTime : Int -> Vault -> Vault | ||||||
| setSyncTime time (Vault vault) = | setSyncTime time (Vault vault) = | ||||||
|     Vault <| Envelope.mapSettings (\s -> { s | syncTime = time }) vault |     Vault <| Envelope.mapSettings (\s -> { s | syncTime = max 1 time }) vault | ||||||
|  |  | ||||||
|  | @ -27,7 +27,7 @@ settings = | ||||||
|                     vault |                     vault | ||||||
|                         |> Matrix.Settings.setSyncTime sync |                         |> Matrix.Settings.setSyncTime sync | ||||||
|                         |> Matrix.Settings.getSyncTime |                         |> Matrix.Settings.getSyncTime | ||||||
|                         |> Expect.equal sync |                         |> Expect.equal (max 1 sync) | ||||||
|                 ) |                 ) | ||||||
|             ] |             ] | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue