mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-13 09:32:27 +03:00
Merge branch 'LonamiWebs:v1' into v1
This commit is contained in:
commit
0998ac8d41
|
@ -295,6 +295,8 @@ class MessageBox:
|
|||
#
|
||||
# It also updates the next deadline time to reflect the new closest deadline.
|
||||
def reset_deadlines(self, entries, deadline):
|
||||
if not entries:
|
||||
return
|
||||
for entry in entries:
|
||||
if entry not in self.map:
|
||||
raise RuntimeError('Called reset_deadline on an entry for which we do not have state')
|
||||
|
|
Loading…
Reference in New Issue
Block a user