From 383f7b633471dedf515907cb8a8752bc5885ae64 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 4 May 2023 20:34:16 +0200 Subject: Add room manager, profile caching --- MatrixRoomUtils.Core/Authentication/MatrixAuth.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'MatrixRoomUtils.Core/Authentication') 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 GetProfile(string homeserver, string mxid) => await (await new RemoteHomeServer(homeserver).Configure()).GetProfile(mxid); -- cgit 1.5.1