telegram_media_downloader icon indicating copy to clipboard operation
telegram_media_downloader copied to clipboard

[Bug]: the program adds one to the last_read_message_id value

Open 40OIL opened this issue 1 year ago • 7 comments

telegram_media_downloader version or commit

2.2.3

What OS are you seeing the problem on?

Windows

Python Version

3.8

What happened?

the program should not go beyond the number of the last available chat message

Expected Behavior

return the program to normal behavior

Current Behavior

every time the program is launched, and not a single message has been added to the chat since the previous launch of the program - it still adds one to the last_read_message_id value in config.yaml, and it becomes greater than the number of the last message. Accordingly, at the next start, even new messages are not processed.

current version of the program is 2.2.3 "07c59fe (origin/plus) feat: support caption replace" (updated to it 2023-12-15)

this was not the case with version "1280550 (origin/master, origin/HEAD) fix: download error (#88)" (updated to it on 2023-06-25)

Possible Solution

No response

Steps to Reproduce

No response

Relevant log output

No response

40OIL avatar Dec 27 '23 15:12 40OIL