mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Fix issues with to/from ID in private chats with multiple clients
This should address #1218.
This commit is contained in:
@@ -20,7 +20,7 @@ class MessageRead(EventBuilder):
|
||||
self.inbox = inbox
|
||||
|
||||
@classmethod
|
||||
def build(cls, update, others=None):
|
||||
def build(cls, update, others=None, self_id=None):
|
||||
if isinstance(update, types.UpdateReadHistoryInbox):
|
||||
return cls.Event(update.peer, update.max_id, False)
|
||||
elif isinstance(update, types.UpdateReadHistoryOutbox):
|
||||
|
Reference in New Issue
Block a user