global-functions.d/notification-telegram: for syntax for ROS 7.x

Strings with escape sequence have to be enclosed in parentheses. Looks
like RouterOS 7.x is stricter here...
This commit is contained in:
Christian Hesse 2021-08-25 00:35:08 +02:00
parent d4896f2585
commit 772e66b622

View file

@ -71,7 +71,7 @@
:global IfThenElse;
:if ($TelegramFixedWidthFont != true) do={
:return ($1 . [ $IfThenElse ($2 = "body") "\n" "" ]);
:return ($1 . [ $IfThenElse ($2 = "body") ("\n") "" ]);
}
:local Return $1;