diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-17 17:11:49 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-17 17:11:49 +0200 |
commit | c5c3c3506ec10e373d5c0ebb15146e4ed4e36df5 (patch) | |
tree | e74107e266ced599100d43c4e5c0823d4292dfdd /MatrixRoomUtils.Desktop | |
parent | Refactors (diff) | |
download | MatrixUtils-c5c3c3506ec10e373d5c0ebb15146e4ed4e36df5.tar.xz |
Add profile management page
Diffstat (limited to 'MatrixRoomUtils.Desktop')
-rw-r--r-- | MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<MRUStorageWrapper>()?.GetCurrentSessionOrPrompt()!; var hsResolver = svc.ServiceProvider.GetService<HomeserverResolverService>(); var storage = svc.ServiceProvider.GetService<TieredStorageService>()?.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)) |