0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

modules/federation/query: Fix naked origin without service name.

This commit is contained in:
Jason Volk 2020-03-08 10:28:11 -07:00
parent 97747219a4
commit 3c87dc2677

View file

@ -199,7 +199,7 @@ get__query_directory(client &client,
if(my_host(origin))
return true;
if(!server::exists(origin))
if(!server::exists(m::fed::matrix_service(origin)))
return true;
servers.append(origin);