From f1ad240e59cb10936379ead4dd64437cfd95ff4e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 14 Feb 2023 21:49:04 +0100 Subject: telegram-chat: never decrease the local offset --- telegram-chat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telegram-chat') 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) ]); -- cgit v1.2.3-70-g09d2