mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-23 01:46:35 +03:00
Fix set union
This commit is contained in:
parent
96a1f580a4
commit
0f72aa8f94
|
@ -125,7 +125,7 @@ class MemorySession(Session):
|
||||||
return rows
|
return rows
|
||||||
|
|
||||||
def process_entities(self, tlo):
|
def process_entities(self, tlo):
|
||||||
self._entities += set(self._entities_to_rows(tlo))
|
self._entities |= set(self._entities_to_rows(tlo))
|
||||||
|
|
||||||
def get_entity_rows_by_phone(self, phone):
|
def get_entity_rows_by_phone(self, phone):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user