From 046e374581afde0e1208e3d66b758d27aab93da8 Mon Sep 17 00:00:00 2001 From: Bram van den Heuvel Date: Fri, 22 Sep 2023 15:38:05 +0200 Subject: [PATCH] Push /join-room-by-id to spec versions v1.7 and v1.8 --- src/Internal/Api/JoinRoomById/Main.elm | 2 ++ src/Internal/Api/README.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Internal/Api/JoinRoomById/Main.elm b/src/Internal/Api/JoinRoomById/Main.elm index cb415bc..3cc5995 100644 --- a/src/Internal/Api/JoinRoomById/Main.elm +++ b/src/Internal/Api/JoinRoomById/Main.elm @@ -32,6 +32,8 @@ joinRoomById 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 bc21142..b6a2b60 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 || ✔️ | ✔️ | ✔️ | ⚡ | ✔️ |