fix: reset member sidebar fetch status when we become ready

This commit is contained in:
Paul Makles 2023-04-21 20:52:23 +01:00
parent c13896244c
commit 9f9902ffb1
No known key found for this signature in database
GPG key ID: 5059F398521BB0F6

View file

@ -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",
});