This commit is contained in:
Ren Amamiya
2026-04-02 19:33:29 +07:00
parent d1f0373916
commit fbc9883680
3 changed files with 20 additions and 8 deletions

View File

@@ -131,14 +131,14 @@ impl ChatRegistry {
if event == &StateEvent::SignerSet {
this.reset(cx);
this.get_rooms(cx);
this.get_contact_list(cx);
this.get_messages(cx);
};
}),
);
// Run at the end of the current cycle
cx.defer_in(window, |this, _window, cx| {
this.get_contact_list(cx);
this.get_messages(cx);
this.get_rooms(cx);
this.handle_notifications(cx);
this.tracking(cx);