Set the guest_link capability according to the config

This commit is contained in:
André Duffeck committed 2026-10-06 12:46:01 +02:00
1 parent 3a555257fb
commit 27a0195146
1 file changed
+3
@@ -290,6 +290,9 @@ func FrontendConfigFromStruct(cfg *config.Config, logger log.Logger) (map[string
"outgoing": cfg.EnableFederatedSharingOutgoing,
"incoming": cfg.EnableFederatedSharingIncoming,
},
"guest_links": map[string]any{
"enabled": cfg.Commons.EnableGuestLinks,
},
},
"spaces": map[string]any{
"version": "1.0.0",