From 9f9902ffb19a1dc6c09d82d2563ab1d1580e9eb3 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Fri, 21 Apr 2023 20:52:23 +0100 Subject: [PATCH] fix: reset member sidebar fetch status when we become ready --- src/controllers/client/Session.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/client/Session.tsx b/src/controllers/client/Session.tsx index 7623265e..38820823 100644 --- a/src/controllers/client/Session.tsx +++ b/src/controllers/client/Session.tsx @@ -3,6 +3,7 @@ import { API, Client } from "revolt.js"; import { state } from "../../mobx/State"; +import { resetMemberSidebarFetched } from "../../components/navigation/right/MemberSidebar"; import { modalController } from "../modals/ModalController"; /** @@ -97,6 +98,7 @@ export default class Session { * Called when the client signals it has received the Ready packet */ private onReady() { + resetMemberSidebarFetched(); this.emit({ action: "SUCCESS", });