mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 21:10:29 +00:00
Fix issues with to/from ID in private chats with multiple clients
This should address #1218.
This commit is contained in:
@@ -25,7 +25,7 @@ class MessageDeleted(EventBuilder):
|
||||
unless you intend on working with channels and super-groups only.
|
||||
"""
|
||||
@classmethod
|
||||
def build(cls, update, others=None):
|
||||
def build(cls, update, others=None, self_id=None):
|
||||
if isinstance(update, types.UpdateDeleteMessages):
|
||||
return cls.Event(
|
||||
deleted_ids=update.messages,
|
||||
|
Reference in New Issue
Block a user