Merge pull request #17 from iamxvbaba/dev
fix: sync lenient DC-ID validation for key exchange
This commit is contained in:
commit
5dcdb57e4c
5 changed files with 82 additions and 6 deletions
|
|
@ -1060,6 +1060,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