nixos/matrix-appservice-irc: fix signing key generation for media proxying support (#375533 )
This commit is contained in:
@@ -228,7 +228,7 @@ in
|
||||
sed -i "s/^hs_token:.*$/$hs_token/g" ${registrationFile}
|
||||
sed -i "s/^as_token:.*$/$as_token/g" ${registrationFile}
|
||||
fi
|
||||
if ! [ -f "${cfg.settings.ircService.mediaProxy.signingKeyPath}"]; then
|
||||
if ! [ -f "${cfg.settings.ircService.mediaProxy.signingKeyPath}" ]; then
|
||||
${lib.getExe pkgs.nodejs} ${pkg}/lib/generate-signing-key.js > "${cfg.settings.ircService.mediaProxy.signingKeyPath}"
|
||||
fi
|
||||
# Allow synapse access to the registration
|
||||
|
||||
Reference in New Issue
Block a user