mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-23 02:17:21 +00:00
Set default DC for new sessions to be DC2
Test servers don't have DC4
This commit is contained in:
parent
c1321a4c01
commit
b42c6581b8
@ -1313,7 +1313,7 @@ class Client(Methods, BaseClient):
|
|||||||
])
|
])
|
||||||
|
|
||||||
if session_empty:
|
if session_empty:
|
||||||
self.storage.dc_id = 4
|
self.storage.dc_id = 2
|
||||||
self.storage.date = 0
|
self.storage.date = 0
|
||||||
|
|
||||||
self.storage.test_mode = self.test_mode
|
self.storage.test_mode = self.test_mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user