about summary refs log tree commit diff
path: root/MatrixUtils.Web/Pages/Labs/Client
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/Labs/Client
parentFix storage (diff)
downloadMatrixUtils-7d9c3eb1d7a8bb913e6b7bfe224817ac575f76df.tar.xz
Refactor session store (WIP)
Diffstat (limited to 'MatrixUtils.Web/Pages/Labs/Client')
-rw-r--r--MatrixUtils.Web/Pages/Labs/Client/Index.razor6
1 files changed, 3 insertions, 3 deletions
diff --git a/MatrixUtils.Web/Pages/Labs/Client/Index.razor b/MatrixUtils.Web/Pages/Labs/Client/Index.razor

index 4656fcb..c6e7d1a 100644 --- a/MatrixUtils.Web/Pages/Labs/Client/Index.razor +++ b/MatrixUtils.Web/Pages/Labs/Client/Index.razor
@@ -40,11 +40,11 @@ } protected override async Task OnInitializedAsync() { - var tokens = await RmuStorage.GetAllTokens(); - var tasks = tokens.Select(async token => { + var tokens = await sessionStore.GetAllSessions(); + var tasks = tokens.Keys.Select(async token => { try { var cc = new ClientContext() { - Homeserver = await RmuStorage.GetSession(token) + Homeserver = await sessionStore.GetHomeserver(token) }; cc.SyncWrapper = new ClientSyncWrapper(cc.Homeserver);