about summary refs log tree commit diff
path: root/LibMatrix/Services/HomeserverProviderService.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-02-21 18:12:41 +0100
committerRory& <root@rory.gay>2025-02-21 18:12:41 +0100
commit4928d96d74d5bb559c83caeff33329fa629999dc (patch)
tree58ad9afb0dc836b557e339c2a3520b77e7eb0825 /LibMatrix/Services/HomeserverProviderService.cs
parentMxcUri class, other various work (diff)
downloadLibMatrix-4928d96d74d5bb559c83caeff33329fa629999dc.tar.xz
HomeserverEmulator changes
Diffstat (limited to 'LibMatrix/Services/HomeserverProviderService.cs')
-rw-r--r--LibMatrix/Services/HomeserverProviderService.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/LibMatrix/Services/HomeserverProviderService.cs b/LibMatrix/Services/HomeserverProviderService.cs

index 0fa0e83..601087d 100644 --- a/LibMatrix/Services/HomeserverProviderService.cs +++ b/LibMatrix/Services/HomeserverProviderService.cs
@@ -45,6 +45,8 @@ public class HomeserverProviderService(ILogger<HomeserverProviderService> logger else { if (serverVersion is { Server.Name: "Synapse" }) hs = new AuthenticatedHomeserverSynapse(homeserver, wellKnownUris, proxy, accessToken); + else if (serverVersion is { Server.Name: "LibMatrix.HomeserverEmulator"}) + hs = new AuthenticatedHomeserverHSE(homeserver, wellKnownUris, proxy, accessToken); } } catch (Exception e) {