mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-31 00:04:51 +02:00
telegram-chat: never decrease the local offset
This commit is contained in:
parent
77d26e02d4
commit
f1ad240e59
1 changed files with 1 additions and 1 deletions
|
@ -144,4 +144,4 @@ $WaitFullyConnected;
|
|||
}
|
||||
}
|
||||
:set TelegramChatOffset ([ :pick $TelegramChatOffset 1 3 ], \
|
||||
[ $IfThenElse ($UpdateID > 0) ($UpdateID + 1) ($TelegramChatOffset->2) ]);
|
||||
[ $IfThenElse ($UpdateID >= $TelegramChatOffset->2) ($UpdateID + 1) ($TelegramChatOffset->2) ]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue