about summary refs log tree commit diff
path: root/LibMatrix/Services/ServiceInstaller.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/Services/ServiceInstaller.cs')
-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>();