Skip to content

Commit 40b0c57

Browse files
committed
Don't rename the in-memory sessions
1 parent 83c386c commit 40b0c57

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pyrogram/client/storage/memory_storage.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ def open(self):
8686
self.dc_id, self.test_mode, self.auth_key, self.user_id, self.is_bot = imported_session_string
8787
self.date = 0
8888

89-
self.name = ":memory:" + str(self.user_id or "<unknown>")
90-
9189
# noinspection PyAttributeOutsideInit
9290
def save(self):
9391
self.date = int(time.time())

0 commit comments

Comments
 (0)