aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--telegram-chat2
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) ]);