diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-26 13:15:18 +0000 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-10-26 13:17:10 +0000 |
commit | e6fe1eacc36245c9799afae6e4dfaecb62ea65d6 (patch) | |
tree | 362fe1734d8a18446243642fc0e7d914b9ceb20d /MatrixRoomUtils.Desktop | |
parent | New things (diff) | |
download | MatrixUtils-e6fe1eacc36245c9799afae6e4dfaecb62ea65d6.tar.xz |
Changes, fixes
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 c7567ce..aaa1bee 100644 --- a/MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs +++ b/MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs @@ -51,7 +51,7 @@ public partial class RoomListEntry : UserControl { var storageKey = $"media/{mxcUrl.Replace("mxc://", "").Replace("/", ".")}"; try { if (!await storage.ObjectExistsAsync(storageKey)) - await storage.SaveStreamAsync(storageKey, await hs._httpClient.GetStreamAsync(resolvedUrl)); + await storage.SaveStreamAsync(storageKey, await hs.ClientHttpClient.GetStreamAsync(resolvedUrl)); RoomIcon.Source = new Bitmap(await storage.LoadStreamAsync(storageKey) ?? throw new NullReferenceException()); } |