.
Some checks failed
Rust / build (ubuntu-latest, stable) (push) Failing after 1m19s
Rust / build (ubuntu-latest, stable) (pull_request) Failing after 1m23s

This commit is contained in:
2026-01-26 12:59:25 +07:00
parent cb4b7ff36d
commit 6df08a9e48
11 changed files with 169 additions and 288 deletions

View File

@@ -302,6 +302,11 @@ impl ChatRegistry {
.map(|this| this.downgrade())
}
/// Get all rooms.
pub fn rooms(&self, _cx: &App) -> &Vec<Entity<Room>> {
&self.rooms
}
/// Get all ongoing rooms.
pub fn ongoing_rooms(&self, cx: &App) -> Vec<Entity<Room>> {
self.rooms