chore: Fix typos

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-07-17 19:22:40 +03:00
parent 7ef02d05d0
commit 05167042be
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F
2 changed files with 4 additions and 3 deletions

View file

@ -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,

View file

@ -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<bool>;
/// Returns ture if the `blacklister` are blacklisted the
/// Returns true if the `blacklister` has blacklisted the
/// `target_public_key`
async fn is_blacklisted(
&self,