From c5c3c3506ec10e373d5c0ebb15146e4ed4e36df5 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Tue, 17 Oct 2023 17:11:49 +0200 Subject: Add profile management page --- MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MatrixRoomUtils.Desktop') diff --git a/MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs b/MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs index d687679..c7567ce 100644 --- a/MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs +++ b/MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs @@ -47,7 +47,7 @@ public partial class RoomListEntry : UserControl { var hs = await svc.ServiceProvider.GetService()?.GetCurrentSessionOrPrompt()!; var hsResolver = svc.ServiceProvider.GetService(); var storage = svc.ServiceProvider.GetService()?.CacheStorageProvider; - var resolvedUrl = await hsResolver.ResolveMediaUri(hs.FullHomeServerDomain, mxcUrl); + var resolvedUrl = await hsResolver.ResolveMediaUri(hs.ServerName, mxcUrl); var storageKey = $"media/{mxcUrl.Replace("mxc://", "").Replace("/", ".")}"; try { if (!await storage.ObjectExistsAsync(storageKey)) -- cgit 1.5.1