mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 17:36:34 +03:00
Remove useless if condition on the memory session
This commit is contained in:
parent
81f8b7f76e
commit
96a1f580a4
|
@ -116,8 +116,6 @@ class MemorySession(Session):
|
|||
entities.extend(tlo.chats)
|
||||
if hasattr(tlo, 'users') and utils.is_list_like(tlo.users):
|
||||
entities.extend(tlo.users)
|
||||
if not entities:
|
||||
return
|
||||
|
||||
rows = [] # Rows to add (id, hash, username, phone, name)
|
||||
for e in entities:
|
||||
|
|
Loading…
Reference in New Issue
Block a user