Merge branch 'telethon-1.18'

This commit is contained in:
Tulir Asokan
2020-12-02 11:59:39 +02:00
6 changed files with 63 additions and 43 deletions
+2
View File
@@ -104,6 +104,7 @@ class BasePortal(MautrixBasePortal, ABC):
dedup: PortalDedup
send_lock: PortalSendLock
_pin_lock: asyncio.Lock
_db_instance: DBPortal
_main_intent: Optional[IntentAPI]
@@ -138,6 +139,7 @@ class BasePortal(MautrixBasePortal, ABC):
self.dedup = PortalDedup(self)
self.send_lock = PortalSendLock()
self._pin_lock = asyncio.Lock()
if tgid:
self.by_tgid[self.tgid_full] = self