Remove deprecated _matrix._tcp SRV query.
Co-authored-by: Jacob Taylor <jacob@explodie.org> Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -318,8 +318,7 @@ impl super::Service {
|
|||||||
|
|
||||||
#[tracing::instrument(name = "srv", level = "debug", skip(self))]
|
#[tracing::instrument(name = "srv", level = "debug", skip(self))]
|
||||||
async fn query_srv_record(&self, hostname: &'_ str) -> Result<Option<FedDest>> {
|
async fn query_srv_record(&self, hostname: &'_ str) -> Result<Option<FedDest>> {
|
||||||
let hostnames =
|
let hostnames = [format!("_matrix-fed._tcp.{hostname}.")];
|
||||||
[format!("_matrix-fed._tcp.{hostname}."), format!("_matrix._tcp.{hostname}.")];
|
|
||||||
|
|
||||||
for hostname in hostnames {
|
for hostname in hostnames {
|
||||||
self.services.server.check_running()?;
|
self.services.server.check_running()?;
|
||||||
|
|||||||
Reference in New Issue
Block a user