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

prepend jitsi room names with assembly tag

(to prevent name clashes between assemblies; shared jitsi rooms are
still possible simply by letting their names start with "shared-")
parent 46b45915
Branches
Tags 7.0.2
No related merge requests found
Pipeline #8801 passed
......@@ -154,8 +154,13 @@ checkLayerProperty p@(Property name _value) = case name of
>>= setProperty "jitsiRoomAdminTag"
. ("assembly-" <>) -- prepend "assembly-" to avoid namespace clashes
uselessEmptyLayer
unwrapString' p
$ suggestProperty $ Property "jitsiTrigger" "onaction"
unwrapString p $ \jitsiRoom -> do
suggestProperty $ Property "jitsiTrigger" "onaction"
-- prepend jitsi room names to avoid name clashes
unless ("shared-" `isPrefixOf` jitsiRoom) $ do
assemblyname <- lintConfig configAssemblyTag
setProperty "jitsiRoom" (assemblyname <> "-" <> jitsiRoom)
"jitsiTrigger" -> do
isString p
unlessHasProperty "jitsiTriggerMessage"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment