mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
Revert "Remove deprecated _matrix._tcp SRV query."
This reverts commit 258e2e3ce8.
This can be re-applied when Synapse decides to deprecate it.
This commit is contained in:
1 parent
a1960553e9
commit
0b82fe27b5
1 file changed
+2
-1
@@ -314,7 +314,8 @@ impl super::Service {
|
||||
|
||||
#[tracing::instrument(name = "srv", level = "debug", skip(self))]
|
||||
async fn query_srv_record(&self, hostname: &'_ str) -> Result<Option<FedDest>> {
|
||||
let hostnames = [format!("_matrix-fed._tcp.{hostname}.")];
|
||||
let hostnames =
|
||||
[format!("_matrix-fed._tcp.{hostname}."), format!("_matrix._tcp.{hostname}.")];
|
||||
|
||||
for hostname in hostnames {
|
||||
self.services.server.check_running()?;
|
||||
|
||||
Reference in new issue
Block a user