From 036236c278d9eb396e0e57240472666f581862dc Mon Sep 17 00:00:00 2001 From: Lukas Wagner Date: Tue, 14 Nov 2023 13:59:28 +0100 Subject: [PATCH] notify: support 'origin' paramter This parameter shows the origin of a config entry (builtin, user-created, modified-builtin) Signed-off-by: Lukas Wagner --- common/src/notify.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/src/notify.rs b/common/src/notify.rs index a5ab754..8f9f38f 100644 --- a/common/src/notify.rs +++ b/common/src/notify.rs @@ -161,6 +161,8 @@ mod export { author, comment, disable, + filter: None, + origin: None, }, ) } @@ -242,6 +244,7 @@ mod export { comment, disable, filter: None, + origin: None, }, &GotifyPrivateConfig { name, token }, ) @@ -334,6 +337,7 @@ mod export { author, comment, disable, + origin: None, }, &SmtpPrivateConfig { name, password }, ) @@ -435,6 +439,7 @@ mod export { invert_match, comment, disable, + origin: None, }, ) }