summaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-24 22:37:22 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-24 22:37:22 -0400
commit0bb17bd01640492db2685e67bacac12dd54a9f59 (patch)
tree5c8425b8e6a962e609f82a7b3f2498524d8d6c6f /src/app.rs
parentd97f8ac1858fbd46b77b541a612cc37b07fc0b5d (diff)
Tests for channel, invite, setup, and message deletion events.
This also found a bug! No live event was being emitted during invite accept. The only way to find out about invites was to reconnect.
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.rs b/src/app.rs
index 6d71259..bc1daa5 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -44,7 +44,7 @@ impl App {
}
pub const fn invites(&self) -> Invites {
- Invites::new(&self.db)
+ Invites::new(&self.db, &self.events)
}
#[cfg(not(test))]