vysheng / tg

telegram-cli
GNU General Public License v2.0
6.48k stars 1.53k forks source link

Time not displayed correctly #614

Open danielberlin opened 9 years ago

danielberlin commented 9 years ago

I created a secure chat between telegram-cli and the official Telegram Mac standalone app. There I configured that it shows my online status only if the Telegram window is focused.

Now I focus the terminal with telegram-cli running in it, then the Telegram Mac app and then telegram-cli again and it tells me:

User Someuser offline (was online [2015/06/07 16:30:45])
User Someuser online (was online [2015/06/07 16:35:49])
User Someuser offline (was online [2015/06/07 16:30:56])

The actual time is 16:30:45, however the second messages shows an invalid time 5 minutes in the future. The third message shows the correct time again and so forth.

NikitaKoval commented 7 years ago

The behavior correct for simple chats too

ostrolucky commented 7 years ago

did anybody find an workaround for this?

kihaki commented 7 years ago

Same thing happening here, the coming-online message has a timestamp that is 5 minutes into the future and says it is coming from was online to online, which does not make sense.

User Someuser online (was online [2017/06/15 12:13:48])
User Someuser offline (was online [2017/06/15 12:08:53])
ostrolucky commented 7 years ago

I have made this https://github.com/ostrolucky/telegram-stalker specifically to work around this annoying bug.

ahmed-gelemli commented 4 years ago

Over 4 years and this bug still appears 🤦‍♂️

ostrolucky commented 4 years ago

Well project wasn't touched in 4 years, so that's expected.

ahmed-gelemli commented 4 years ago

Well project wasn't touched in 4 years, so that's expected.

Reasonable :)