fix: sync lenient DC-ID validation for key exchange
This commit is contained in:
parent
0e2fcdf9c8
commit
e7eb07b9eb
5 changed files with 82 additions and 6 deletions
|
|
@ -1010,6 +1010,7 @@ func run(logger *zap.Logger) error {
|
|||
srv := mtprotoedge.New(mtprotoedge.Options{
|
||||
Logger: logger.Named("mtprotoedge"),
|
||||
DC: cfg.DC,
|
||||
StrictDC: cfg.StrictDCCheck,
|
||||
RSAKey: rsaKey,
|
||||
LayerRPC: router,
|
||||
AuthKeys: authKeyStore,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue