summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2021-12-27 18:09:24 +0100
committerstuebinm2022-01-02 01:55:49 +0100
commitec1ea19d54b3ff01aaf5b1e864fba670c0f01b7a (patch)
tree41a44539fe5fecec8013defd9ccdbcd32c05da0a
parent1630bd4b7daf7d842575781d4aa146dd812c877b (diff)
fix bbb urls a second time …
-rw-r--r--lib/Properties.hs6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Properties.hs b/lib/Properties.hs
index d78cb8c..4b51624 100644
--- a/lib/Properties.hs
+++ b/lib/Properties.hs
@@ -368,16 +368,12 @@ checkTileLayerProperty p@(Property name _value) = case name of
Just ("bbb",assembly_slug, room_slug)
| "/" `isPrefixOf` room_slug
&& T.length room_slug >= 2 -> do
- assemblies <- lintConfig configAssemblies
- if assembly_slug `elem` assemblies
- then do
- let link = "https://rc3.world/2021/room/"<>room_slug
+ let link = "https://rc3.world/2021/room"<>room_slug
dependsOn (Link link)
setProperty "openWebsite" link
setProperty "silent" (BoolProp True)
setProperty "openWebsitePolicy"
("fullscreen;camera;microphone;display-capture" :: Text)
- else complain $ prettyprint assembly_slug <> " is not a registered assembly and therefore cannot be used in `bbbUrl`."
_ -> complain "the \"bbbRoom\" property must take a link of the form bbb://assembly_slug/room_slug."
"bbbTrigger" -> do
removeProperty "bbbTrigger"