summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorstuebinm2022-04-07 16:04:04 +0200
committerstuebinm2022-04-07 16:04:04 +0200
commitbbc5b557838c750e66759602b6a48d23da780c24 (patch)
treeb393906a2247517f0b2fcc256cf935f7fdfc3279 /lib
parent73e7a69828597927f35e080d379278a847bed208 (diff)
linter: unless ain't the same as if
Diffstat (limited to '')
-rw-r--r--lib/Properties.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Properties.hs b/lib/Properties.hs
index 18a0520..291827f 100644
--- a/lib/Properties.hs
+++ b/lib/Properties.hs
@@ -363,7 +363,7 @@ checkTileThing removeExits p@(Property name _value) = case name of
suggestProperty $ Property "jitsiTrigger" "onaction"
-- prevents namespace clashes for jitsi room names
- if "shared" `isPrefixOf` jitsiRoom then do
+ if not ("shared" `isPrefixOf` jitsiRoom) then do
assemblyname <- lintConfig configAssemblyTag
setProperty "jitsiRoom" (assemblyname <> "-" <> jitsiRoom)
offersJitsi (assemblyname <> "-" <> jitsiRoom)