Skip to content
Snippets Groups Projects
Commit bbc5b557 authored by stuebinm's avatar stuebinm
Browse files

linter: unless ain't the same as if

parent 73e7a698
No related branches found
Tags 4.6.2
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment