Update telethon/client/updates.py

Co-Authored-By: Lonami <totufals@hotmail.com>
This commit is contained in:
Manuel1510 2019-10-27 18:46:21 +01:00 committed by GitHub
parent 0dbb084aba
commit 102e6ee0b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,7 +460,7 @@ class UpdateMethods:
if not pts_date:
# First-time, can't get difference. Get pts instead.
result = await self(functions.channels.GetFullChannelRequest(
channel=where
utils.get_input_channel(where)
))
self._state_cache[channel_id] = result.full_chat.pts
return