diff options
author | Christian Hesse <mail@eworm.de> | 2023-02-14 21:49:04 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-02-14 23:01:24 +0100 |
commit | f1ad240e59cb10936379ead4dd64437cfd95ff4e (patch) | |
tree | 3f51f203cf8bfe005590db14d8b84497e5acec50 /telegram-chat | |
parent | 77d26e02d46441958303f111ff846e159cb51714 (diff) |
telegram-chat: never decrease the local offset
Diffstat (limited to 'telegram-chat')
-rw-r--r-- | telegram-chat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram-chat b/telegram-chat index a3f1640..51b3572 100644 --- a/telegram-chat +++ b/telegram-chat @@ -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) ]); |