2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-08 02:05:51 +00:00

Fix broken mentions for both HTML and Markdown

This commit is contained in:
Dan
2019-03-26 13:32:30 +01:00
parent f4cb31d7b8
commit ef5dd96bdc
3 changed files with 21 additions and 10 deletions

View File

@@ -81,8 +81,8 @@ class BaseClient:
self.peers_by_username = {}
self.peers_by_phone = {}
self.markdown = Markdown(self.peers_by_id)
self.html = HTML(self.peers_by_id)
self.markdown = Markdown(self)
self.html = HTML(self)
self.session = None
self.media_sessions = {}