mirror of
https://github.com/telemt/telemt.git
synced 2026-05-01 09:24:10 +03:00
Routed DC + Strict ME Writers
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
@@ -50,11 +50,6 @@ impl MePool {
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) async fn connect_one(self: &Arc<Self>, addr: SocketAddr, rng: &SecureRandom) -> Result<()> {
|
||||
let writer_dc = self.resolve_dc_for_endpoint(addr).await;
|
||||
self.connect_one_for_dc(addr, writer_dc, rng).await
|
||||
}
|
||||
|
||||
pub(crate) async fn connect_one_for_dc(
|
||||
self: &Arc<Self>,
|
||||
addr: SocketAddr,
|
||||
|
||||
Reference in New Issue
Block a user