diff --git a/crates/oxidetalis/src/database/out_chat_requests.rs b/crates/oxidetalis/src/database/out_chat_requests.rs index 0994e4b..df8840c 100644 --- a/crates/oxidetalis/src/database/out_chat_requests.rs +++ b/crates/oxidetalis/src/database/out_chat_requests.rs @@ -25,7 +25,8 @@ use crate::{errors::ServerResult, websocket::errors::WsError}; /// Extension trait for the `out_chat_requests` table. pub trait OutChatRequestsExt { - /// Returns true if the `user` have a sended chat request to the `recipient` + /// Returns the outgoing chat request if the `user` have a sent chat request + /// to the `recipient` async fn have_chat_request_to( &self, requester: &UserModel, diff --git a/crates/oxidetalis/src/database/user_status.rs b/crates/oxidetalis/src/database/user_status.rs index 152e1c8..ab123f2 100644 --- a/crates/oxidetalis/src/database/user_status.rs +++ b/crates/oxidetalis/src/database/user_status.rs @@ -28,7 +28,7 @@ use crate::{errors::ServerResult, websocket::errors::WsError}; /// Extension trait for the `DatabaseConnection` to work with the whitelist /// table pub trait UsersStatusExt { - /// Returns ture if the `whitelister` are whitelisted the + /// Returns true if the `whitelister` has whitelisted the /// `target_public_key` async fn is_whitelisted( &self, @@ -36,7 +36,7 @@ pub trait UsersStatusExt { target_public_key: &PublicKey, ) -> ServerResult; - /// Returns ture if the `blacklister` are blacklisted the + /// Returns true if the `blacklister` has blacklisted the /// `target_public_key` async fn is_blacklisted( &self,