feat: setup packager and auto-updater

This commit is contained in:
2025-02-11 09:13:08 +07:00
parent 1bb9729e75
commit f5f9b66df5
16 changed files with 76 additions and 67 deletions

View File

@@ -155,16 +155,14 @@ impl ChatRegistry {
let this = room.downgrade();
cx.spawn(|mut cx| async move {
if let Err(e) = cx.update_window(window_handle, |_, _, cx| {
_ = cx.update_window(window_handle, |_, _, cx| {
_ = this.update(cx, |this, cx| {
this.last_seen.set(event.created_at);
this.new_messages.push(event);
cx.notify();
});
}) {
println!("Error: {}", e)
}
});
})
.detach();
} else {