Push /send-message to spec versions 1.7 and 1.8
parent
d8eaca0ac2
commit
8816f0e837
|
@ -86,8 +86,8 @@ Note that **under development** doesn't always mean that it _will be_ supported.
|
||||||
|
|
||||||
| **Spec version** | | Message event | State event |
|
| **Spec version** | | Message event | State event |
|
||||||
| ---------------- | - | ------------- | ----------- |
|
| ---------------- | - | ------------- | ----------- |
|
||||||
| v1.8 || ⚡ | ⚡ |
|
| v1.8 || ✔️ | ✔️ |
|
||||||
| v1.7 || ⚡ | ⚡ |
|
| v1.7 || ✔️ | ✔️ |
|
||||||
| v1.6 || ✔️ | ✔️ |
|
| v1.6 || ✔️ | ✔️ |
|
||||||
| v1.5 || ✔️ | ✔️ |
|
| v1.5 || ✔️ | ✔️ |
|
||||||
| v1.4 || ✔️ | ✔️ |
|
| v1.4 || ✔️ | ✔️ |
|
||||||
|
|
|
@ -32,6 +32,8 @@ sendStateKey context input =
|
||||||
|> VC.sameForVersion "v1.4"
|
|> VC.sameForVersion "v1.4"
|
||||||
|> VC.sameForVersion "v1.5"
|
|> VC.sameForVersion "v1.5"
|
||||||
|> VC.sameForVersion "v1.6"
|
|> VC.sameForVersion "v1.6"
|
||||||
|
|> VC.sameForVersion "v1.7"
|
||||||
|
|> VC.sameForVersion "v1.8"
|
||||||
|> VC.mostRecentFromVersionList (Context.getVersions context)
|
|> VC.mostRecentFromVersionList (Context.getVersions context)
|
||||||
|> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion)
|
|> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion)
|
||||||
|> (|>) input
|
|> (|>) input
|
||||||
|
|
Loading…
Reference in New Issue