forked from abner/for-legacy-web
fix: reset member sidebar fetch status when we become ready
parent
c13896244c
commit
9f9902ffb1
|
|
@ -3,6 +3,7 @@ import { API, Client } from "revolt.js";
|
||||||
|
|
||||||
import { state } from "../../mobx/State";
|
import { state } from "../../mobx/State";
|
||||||
|
|
||||||
|
import { resetMemberSidebarFetched } from "../../components/navigation/right/MemberSidebar";
|
||||||
import { modalController } from "../modals/ModalController";
|
import { modalController } from "../modals/ModalController";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -97,6 +98,7 @@ export default class Session {
|
||||||
* Called when the client signals it has received the Ready packet
|
* Called when the client signals it has received the Ready packet
|
||||||
*/
|
*/
|
||||||
private onReady() {
|
private onReady() {
|
||||||
|
resetMemberSidebarFetched();
|
||||||
this.emit({
|
this.emit({
|
||||||
action: "SUCCESS",
|
action: "SUCCESS",
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue