about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Shared/IndexComponents
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-27 02:23:30 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-27 02:23:30 +0200
commitac7ed016b00941380099d9a0b2601f4bc353f39f (patch)
treea0f9fc1baee763a528aef2cd04a920815ef3906d /MatrixRoomUtils.Web/Shared/IndexComponents
parentBeen a while since I last committed (diff)
downloadMatrixUtils-ac7ed016b00941380099d9a0b2601f4bc353f39f.tar.xz
Remove a bunch of caching, make room listings more reliable
Diffstat (limited to 'MatrixRoomUtils.Web/Shared/IndexComponents')
-rw-r--r--MatrixRoomUtils.Web/Shared/IndexComponents/IndexUserItem.razor6
1 files changed, 2 insertions, 4 deletions
diff --git a/MatrixRoomUtils.Web/Shared/IndexComponents/IndexUserItem.razor b/MatrixRoomUtils.Web/Shared/IndexComponents/IndexUserItem.razor

index 016b993..42f2c09 100644 --- a/MatrixRoomUtils.Web/Shared/IndexComponents/IndexUserItem.razor +++ b/MatrixRoomUtils.Web/Shared/IndexComponents/IndexUserItem.razor
@@ -41,7 +41,6 @@ { Console.WriteLine(User.ToJson()); RuntimeCache.LoginSessions.Remove(User.AccessToken); - await LocalStorageWrapper.ReloadLocalStorage(LocalStorage); StateHasChanged(); } @@ -50,9 +49,8 @@ { RuntimeCache.LastUsedToken = User.AccessToken; //RuntimeCache.CurrentHomeserver = await MatrixAuth.ResolveHomeserverFromWellKnown(LocalStorageWrapper.LoginSessions[Token].LoginResponse.HomeServer); - await LocalStorageWrapper.ReloadLocalStorage(LocalStorage); - + await LocalStorageWrapper.SaveToLocalStorage(LocalStorage); + await LocalStorageWrapper.InitialiseRuntimeVariables(LocalStorage); StateHasChanged(); } - } \ No newline at end of file