mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
Actually fix references to TL in MessageBox
This commit is contained in:
parent
a5c3df2743
commit
db7b7fde3f
|
@ -469,7 +469,7 @@ class MessageBox:
|
||||||
entry = ENTRY_ACCOUNT
|
entry = ENTRY_ACCOUNT
|
||||||
if entry in self.getting_diff_for:
|
if entry in self.getting_diff_for:
|
||||||
if entry in self.map:
|
if entry in self.map:
|
||||||
return fn.updates.GetDifference(
|
return fn.updates.GetDifferenceRequest(
|
||||||
pts=self.map[ENTRY_ACCOUNT].pts,
|
pts=self.map[ENTRY_ACCOUNT].pts,
|
||||||
pts_total_limit=None,
|
pts_total_limit=None,
|
||||||
date=self.date,
|
date=self.date,
|
||||||
|
@ -557,7 +557,7 @@ class MessageBox:
|
||||||
self.end_get_diff(entry)
|
self.end_get_diff(entry)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return fn.updates.GetChannelDifference(
|
return fn.updates.GetChannelDifferenceRequest(
|
||||||
force=False,
|
force=False,
|
||||||
channel=tl.InputChannel(packed.id, packed.hash),
|
channel=tl.InputChannel(packed.id, packed.hash),
|
||||||
filter=tl.ChannelMessagesFilterEmpty(),
|
filter=tl.ChannelMessagesFilterEmpty(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user