From 87842de96afca3bf76ec527070bb6b56dbeda2f7 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 19 Jul 2025 22:40:21 +0200 Subject: Fix invite logic, further v12 fixes --- LibMatrix.Federation/AuthenticatedFederationClient.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'LibMatrix.Federation/AuthenticatedFederationClient.cs') diff --git a/LibMatrix.Federation/AuthenticatedFederationClient.cs b/LibMatrix.Federation/AuthenticatedFederationClient.cs index 15dc88f..ee4bb25 100644 --- a/LibMatrix.Federation/AuthenticatedFederationClient.cs +++ b/LibMatrix.Federation/AuthenticatedFederationClient.cs @@ -11,14 +11,14 @@ public class AuthenticatedFederationClient(string federationEndpoint, Authentica public required string OriginServerName { get; set; } } - public async Task GetUserDevicesAsync(string userId) { - var response = await HttpClient.SendAsync(new XMatrixAuthorizationScheme.XMatrixRequestSignature() { - OriginServerName = config.OriginServerName, - DestinationServerName = userId.Split(':', 2)[1], - Method = "GET", - Uri = $"/_matrix/federation/v1/user/devices/{userId}", - }.ToSignedHttpRequestMessage(config.PrivateKey)); - return response; - } + // public async Task GetUserDevicesAsync(string userId) { + // var response = await HttpClient.SendAsync(new XMatrixAuthorizationScheme.XMatrixRequestSignature() { + // OriginServerName = config.OriginServerName, + // DestinationServerName = userId.Split(':', 2)[1], + // Method = "GET", + // Uri = $"/_matrix/federation/v1/user/devices/{userId}", + // }.ToSignedHttpRequestMessage(config.PrivateKey)); + // return response; + // } } \ No newline at end of file -- cgit 1.5.1