about summary refs log tree commit diff
path: root/LibMatrix/Homeservers/RemoteHomeServer.cs
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2024-07-02 01:57:46 +0200
committerEmma [it/its]@Rory& <root@rory.gay>2024-07-02 01:57:46 +0200
commit28f738ba433fb1012f693866dc4b3f521fd824b5 (patch)
tree86cc3381b99ca637a1986578292f60de2c097c57 /LibMatrix/Homeservers/RemoteHomeServer.cs
parentReturn null on TryGetFromJson if a JsonException happens (diff)
downloadLibMatrix-28f738ba433fb1012f693866dc4b3f521fd824b5.tar.xz
Authenticated media foundations
Diffstat (limited to '')
-rw-r--r--LibMatrix/Homeservers/RemoteHomeServer.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/LibMatrix/Homeservers/RemoteHomeServer.cs b/LibMatrix/Homeservers/RemoteHomeServer.cs
index ecf3e3a..f9e3d04 100644
--- a/LibMatrix/Homeservers/RemoteHomeServer.cs
+++ b/LibMatrix/Homeservers/RemoteHomeServer.cs
@@ -107,6 +107,7 @@ public class RemoteHomeserver {
 
 #endregion
 
+    [Obsolete("This call uses the deprecated unauthenticated media endpoints, please switch to the relevant AuthenticatedHomeserver methods instead.", true)]
     public string? ResolveMediaUri(string? mxcUri) {
         if (mxcUri is null) return null;
         if (mxcUri.StartsWith("https://")) return mxcUri;