global-functions: $ScriptInstallUpdate: pass origin to $SendNotification2

This commit is contained in:
Christian Hesse 2021-04-27 21:38:37 +02:00
parent 2d0ce17629
commit c640823881

View file

@ -855,8 +855,9 @@
:set Link "https://git.eworm.de/cgit/routeros-scripts/about/#donate"; :set Link "https://git.eworm.de/cgit/routeros-scripts/about/#donate";
} }
$SendNotification2 ({ subject=([ $SymbolForNotification "pushpin" ] . \ $SendNotification2 ({ origin=$0; \
"News and configuration changes"); message=$NotificationMessage; link=$Link }); subject=([ $SymbolForNotification "pushpin" ] . "News and configuration changes"); \
message=$NotificationMessage; link=$Link });
:set SentConfigChangesNotification $ExpectedConfigVersion; :set SentConfigChangesNotification $ExpectedConfigVersion;
} }