From f09d9f004f270fa39b56d39daa03419a54828838 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Sat, 27 Sep 2025 23:24:43 +0100 Subject: Add separators in privileged_entities list The template worked fine for singleton lists, but it fails when adding another entry since there is no separator between the elements! Thankfully Lua has some nice syntax allowing you to use a semicolon as a separator, which doesn't by itself imply more than one element. --- files/virtual_host.cfg.lua.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2 index 8763082..2051c92 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -64,7 +64,7 @@ privileged_entities = { ["http://jabber.org/protocol/pubsub"] = "both"; ["http://jabber.org/protocol/pubsub#owner"] = "set"; }; - } + }; {% endfor %} } -- cgit v1.2.3