diff --git a/src/Internal/Api/Invite/Main.elm b/src/Internal/Api/Invite/Main.elm index 57be652..a886b55 100644 --- a/src/Internal/Api/Invite/Main.elm +++ b/src/Internal/Api/Invite/Main.elm @@ -36,6 +36,8 @@ invite context input = |> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.5" |> VC.sameForVersion "v1.6" + |> VC.sameForVersion "v1.7" + |> VC.sameForVersion "v1.8" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input diff --git a/src/Internal/Api/README.md b/src/Internal/Api/README.md index 84ef984..36b8098 100644 --- a/src/Internal/Api/README.md +++ b/src/Internal/Api/README.md @@ -42,8 +42,8 @@ Note that **under development** doesn't always mean that it _will be_ supported. | **Spec version** | | Inviting | Joining room id | Leaving room | Kick user | Ban user | | ---------------- | - | -------- | --------------- | ------------ | --------- | -------- | -| v1.8 || ⚡ | ⚡ | ⚡ | ⚡ | ✔️ | -| v1.7 || ⚡ | ⚡ | ⚡ | ⚡ | ✔️ | +| v1.8 || ✔️ | ⚡ | ⚡ | ⚡ | ✔️ | +| v1.7 || ✔️ | ⚡ | ⚡ | ⚡ | ✔️ | | v1.6 || ✔️ | ✔️ | ✔️ | ⚡ | ✔️ | | v1.5 || ✔️ | ✔️ | ✔️ | ⚡ | ✔️ | | v1.4 || ✔️ | ✔️ | ✔️ | ⚡ | ✔️ |