From 7026f5b572ea35718d84a1fd2a811c4f4503728b Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 18 Nov 2022 12:15:59 +0000 Subject: [PATCH] Inline signing identities --- setup/config/config_global.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/config/config_global.go b/setup/config/config_global.go index 3034b3ed7..b060a2c0f 100644 --- a/setup/config/config_global.go +++ b/setup/config/config_global.go @@ -14,7 +14,7 @@ import ( type Global struct { // Signing identity contains the server name, private key and key ID of // the deployment. - gomatrixserverlib.SigningIdentity + gomatrixserverlib.SigningIdentity `yaml:"inline"` // The secondary server names, used for virtual hosting. VirtualHosts []*VirtualHost `yaml:"virtual_hosts"` @@ -189,7 +189,7 @@ func (c *Global) SigningIdentities() []*gomatrixserverlib.SigningIdentity { type VirtualHost struct { // Signing identity contains the server name, private key and key ID of // the virtual host. - gomatrixserverlib.SigningIdentity + gomatrixserverlib.SigningIdentity `yaml:"inline"` // Path to the private key. If not specified, the default global private key // will be used instead.