summaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app.rs b/src/app.rs
index b7e52a4..133ee04 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -2,7 +2,7 @@ use sqlx::sqlite::SqlitePool;
use crate::{
boot::app::Boot,
- channel::app::Channels,
+ conversation::app::Conversations,
event::{self, app::Events},
invite::app::Invites,
message::app::Messages,
@@ -37,8 +37,8 @@ impl App {
Boot::new(&self.db)
}
- pub const fn channels(&self) -> Channels {
- Channels::new(&self.db, &self.events)
+ pub const fn conversations(&self) -> Conversations {
+ Conversations::new(&self.db, &self.events)
}
pub const fn events(&self) -> Events {