about summary refs log tree commit diff
path: root/MatrixUtils.Web/Pages/Rooms/Create.razor
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-04-14 23:42:38 +0200
committerRory& <root@rory.gay>2025-04-14 23:42:38 +0200
commit7d9c3eb1d7a8bb913e6b7bfe224817ac575f76df (patch)
tree37df0c1724e404a6b00ad6b1153b12f6649ffbcd /MatrixUtils.Web/Pages/Rooms/Create.razor
parentFix storage (diff)
downloadMatrixUtils-7d9c3eb1d7a8bb913e6b7bfe224817ac575f76df.tar.xz
Refactor session store (WIP)
Diffstat (limited to 'MatrixUtils.Web/Pages/Rooms/Create.razor')
-rw-r--r--MatrixUtils.Web/Pages/Rooms/Create.razor2
1 files changed, 1 insertions, 1 deletions
diff --git a/MatrixUtils.Web/Pages/Rooms/Create.razor b/MatrixUtils.Web/Pages/Rooms/Create.razor

index a36ccf8..021ad18 100644 --- a/MatrixUtils.Web/Pages/Rooms/Create.razor +++ b/MatrixUtils.Web/Pages/Rooms/Create.razor
@@ -258,7 +258,7 @@ private RoomAvatarEventContent? roomAvatarEvent => creationEvent?["m.room.avatar"].TypedContent as RoomAvatarEventContent; protected override async Task OnInitializedAsync() { - Homeserver = await RmuStorage.GetCurrentSessionOrNavigate(); + Homeserver = await sessionStore.GetCurrentHomeserver(navigateOnFailure: true); if (Homeserver is null) return; foreach (var x in Assembly.GetExecutingAssembly().GetTypes().Where(x => x.IsClass && !x.IsAbstract && x.GetInterfaces().Contains(typeof(IRoomCreationTemplate))).ToList()) {