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

jitsiRoomAdminTag: prepend "assembly-" before name

(since otherwise we might run into namespace clashes for assemblies with
funny names)
parent f1c6de8f
Branches
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ import LintWriter (LintWriter, adjust, askContext, askFileDepth, ...@@ -27,6 +27,7 @@ import LintWriter (LintWriter, adjust, askContext, askFileDepth,
import Paths (PathResult (..), RelPath (..), parsePath) import Paths (PathResult (..), RelPath (..), parsePath)
import Types (Dep (Link, Local, LocalMap, MapLink)) import Types (Dep (Link, Local, LocalMap, MapLink))
import Uris (SubstError (..), applySubst) import Uris (SubstError (..), applySubst)
import Data.Functor ((<&>))
-- | Checks an entire map for "general" lints. -- | Checks an entire map for "general" lints.
...@@ -151,6 +152,7 @@ checkLayerProperty p@(Property name _value) = case name of ...@@ -151,6 +152,7 @@ checkLayerProperty p@(Property name _value) = case name of
"jitsiRoom" -> do "jitsiRoom" -> do
lintConfig configAssemblyTag lintConfig configAssemblyTag
>>= setProperty "jitsiRoomAdminTag" >>= setProperty "jitsiRoomAdminTag"
. ("assembly-" <>) -- prepend "assembly-" to avoid namespace clashes
uselessEmptyLayer uselessEmptyLayer
unwrapString' p unwrapString' p
$ suggestProperty $ Property "jitsiTrigger" "onaction" $ suggestProperty $ Property "jitsiTrigger" "onaction"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment