mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-07 20:42:32 +00:00
Fix custom.Dialog passing the wrong instance to custom.Draft
This commit is contained in:
@@ -79,7 +79,7 @@ class Dialog:
|
||||
self.unread_count = dialog.unread_count
|
||||
self.unread_mentions_count = dialog.unread_mentions_count
|
||||
|
||||
self.draft = Draft._from_dialog(client, dialog)
|
||||
self.draft = Draft._from_dialog(client, self)
|
||||
|
||||
self.is_user = isinstance(self.entity, types.User)
|
||||
self.is_group = (
|
||||
|
Reference in New Issue
Block a user