about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Shared/InlineUserItem.razor
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-26 13:15:18 +0000
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-26 13:17:10 +0000
commite6fe1eacc36245c9799afae6e4dfaecb62ea65d6 (patch)
tree362fe1734d8a18446243642fc0e7d914b9ceb20d /MatrixRoomUtils.Web/Shared/InlineUserItem.razor
parentNew things (diff)
downloadMatrixUtils-e6fe1eacc36245c9799afae6e4dfaecb62ea65d6.tar.xz
Changes, fixes
Diffstat (limited to 'MatrixRoomUtils.Web/Shared/InlineUserItem.razor')
-rw-r--r--MatrixRoomUtils.Web/Shared/InlineUserItem.razor10
1 files changed, 5 insertions, 5 deletions
diff --git a/MatrixRoomUtils.Web/Shared/InlineUserItem.razor b/MatrixRoomUtils.Web/Shared/InlineUserItem.razor
index 7bc88e5..dc58210 100644
--- a/MatrixRoomUtils.Web/Shared/InlineUserItem.razor
+++ b/MatrixRoomUtils.Web/Shared/InlineUserItem.razor
@@ -36,14 +36,14 @@
     public string? ProfileName { get; set; } = null;
 
     [Parameter]
-    public AuthenticatedHomeserverGeneric? HomeServer { get; set; }
+    public AuthenticatedHomeserverGeneric? Homeserver { get; set; }
 
     private static SemaphoreSlim _semaphoreSlim = new(128);
 
     protected override async Task OnInitializedAsync() {
         await base.OnInitializedAsync();
-        HomeServer ??= await MRUStorage.GetCurrentSessionOrNavigate();
-        if(HomeServer is null) return;
+        Homeserver ??= await MRUStorage.GetCurrentSessionOrNavigate();
+        if(Homeserver is null) return;
 
         await _semaphoreSlim.WaitAsync();
 
@@ -58,11 +58,11 @@
         }
 
         if (User is null && UserId is not null) {
-            User ??= await HomeServer.GetProfileAsync(UserId);
+            User ??= await Homeserver.GetProfileAsync(UserId);
         }
 
 
-        ProfileAvatar ??= HomeServer.ResolveMediaUri(User.AvatarUrl);
+        ProfileAvatar ??= Homeserver.ResolveMediaUri(User.AvatarUrl);
         ProfileName ??= User.DisplayName;
 
         _semaphoreSlim.Release();