telegram-chat: drop extra conversion

This commit is contained in:
Christian Hesse 2023-10-18 18:26:22 +02:00
parent 9138c17f8c
commit 4c365c131d

View file

@ -67,7 +67,7 @@ $WaitFullyConnected;
:local UpdateID 0; :local UpdateID 0;
:local Uptime [ /system/resource/get uptime ]; :local Uptime [ /system/resource/get uptime ];
:foreach UpdateArray in=[ :toarray ([ $ParseJson $Data ]->"result") ] do={ :foreach UpdateArray in=([ $ParseJson $Data ]->"result") do={
:local Update [ $ParseJson $UpdateArray ]; :local Update [ $ParseJson $UpdateArray ];
:set UpdateID ($Update->"update_id"); :set UpdateID ($Update->"update_id");
:local Message [ $ParseJson ($Update->"message") ]; :local Message [ $ParseJson ($Update->"message") ];