mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Don't rename the in-memory sessions
This commit is contained in:
parent
83c386cbec
commit
40b0c57b54
@ -86,8 +86,6 @@ class MemoryStorage(Storage):
|
||||
self.dc_id, self.test_mode, self.auth_key, self.user_id, self.is_bot = imported_session_string
|
||||
self.date = 0
|
||||
|
||||
self.name = ":memory:" + str(self.user_id or "<unknown>")
|
||||
|
||||
# noinspection PyAttributeOutsideInit
|
||||
def save(self):
|
||||
self.date = int(time.time())
|
||||
|
Loading…
x
Reference in New Issue
Block a user