about summary refs log tree commit diff
path: root/LibMatrix/Services/ServiceInstaller.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-03-09 17:24:34 +0100
committerRory& <root@rory.gay>2025-03-09 17:24:34 +0100
commitdb835755e01b13dcb8d33a91f57ae8f20b931c57 (patch)
tree9a7bb90b919bef042b4bfc064f603e760a472cc9 /LibMatrix/Services/ServiceInstaller.cs
parentWell known resolver rewrite work (diff)
downloadLibMatrix-db835755e01b13dcb8d33a91f57ae8f20b931c57.tar.xz
Well known resolver work, synapse admin work
Diffstat (limited to '')
-rw-r--r--LibMatrix/Services/ServiceInstaller.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/LibMatrix/Services/ServiceInstaller.cs b/LibMatrix/Services/ServiceInstaller.cs

index ecc3f09..5ffd43a 100644 --- a/LibMatrix/Services/ServiceInstaller.cs +++ b/LibMatrix/Services/ServiceInstaller.cs
@@ -1,4 +1,5 @@ -using LibMatrix.Services.WellKnownResolvers; +using LibMatrix.Services.WellKnownResolver; +using LibMatrix.Services.WellKnownResolver.WellKnownResolvers; using Microsoft.Extensions.DependencyInjection; namespace LibMatrix.Services; @@ -10,6 +11,10 @@ public static class ServiceInstaller { //Add services services.AddSingleton<ClientWellKnownResolver>(); + services.AddSingleton<ServerWellKnownResolver>(); + services.AddSingleton<SupportWellKnownResolver>(); + if (!services.Any(x => x.ServiceType == typeof(WellKnownResolverConfiguration))) + services.AddSingleton<WellKnownResolverConfiguration>(); services.AddSingleton<WellKnownResolverService>(); // Legacy services.AddSingleton<HomeserverResolverService>();