1 files changed, 1 insertions, 0 deletions
diff --git a/MatrixRoomUtils.Core/Authentication/MatrixAuth.cs b/MatrixRoomUtils.Core/Authentication/MatrixAuth.cs
index e744c4f..7bcd75f 100644
--- a/MatrixRoomUtils.Core/Authentication/MatrixAuth.cs
+++ b/MatrixRoomUtils.Core/Authentication/MatrixAuth.cs
@@ -39,6 +39,7 @@ public class MatrixAuth
//return token;
}
+ [Obsolete("Migrate to IHomeServer instance")]
public static async Task<ProfileResponse> GetProfile(string homeserver, string mxid) =>
await (await new RemoteHomeServer(homeserver).Configure()).GetProfile(mxid);
|