mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-09 00:33:38 -05:00
fix: reset member sidebar fetch status when we become ready
This commit is contained in:
parent
c13896244c
commit
9f9902ffb1
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue