summaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.rs b/src/app.rs
index 3f3885a..0b560dd 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -42,8 +42,8 @@ impl App {
Conversations::new(self.db.clone(), self.events.clone())
}
- pub const fn events(&self) -> Events<'_> {
- Events::new(&self.db, &self.events)
+ pub fn events(&self) -> Events {
+ Events::new(self.db.clone(), self.events.clone())
}
pub const fn invites(&self) -> Invites<'_> {