chore: Fix typos
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
7ef02d05d0
commit
05167042be
2 changed files with 4 additions and 3 deletions
|
@ -25,7 +25,8 @@ use crate::{errors::ServerResult, websocket::errors::WsError};
|
||||||
|
|
||||||
/// Extension trait for the `out_chat_requests` table.
|
/// Extension trait for the `out_chat_requests` table.
|
||||||
pub trait OutChatRequestsExt {
|
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(
|
async fn have_chat_request_to(
|
||||||
&self,
|
&self,
|
||||||
requester: &UserModel,
|
requester: &UserModel,
|
||||||
|
|
|
@ -28,7 +28,7 @@ use crate::{errors::ServerResult, websocket::errors::WsError};
|
||||||
/// Extension trait for the `DatabaseConnection` to work with the whitelist
|
/// Extension trait for the `DatabaseConnection` to work with the whitelist
|
||||||
/// table
|
/// table
|
||||||
pub trait UsersStatusExt {
|
pub trait UsersStatusExt {
|
||||||
/// Returns ture if the `whitelister` are whitelisted the
|
/// Returns true if the `whitelister` has whitelisted the
|
||||||
/// `target_public_key`
|
/// `target_public_key`
|
||||||
async fn is_whitelisted(
|
async fn is_whitelisted(
|
||||||
&self,
|
&self,
|
||||||
|
@ -36,7 +36,7 @@ pub trait UsersStatusExt {
|
||||||
target_public_key: &PublicKey,
|
target_public_key: &PublicKey,
|
||||||
) -> ServerResult<bool>;
|
) -> ServerResult<bool>;
|
||||||
|
|
||||||
/// Returns ture if the `blacklister` are blacklisted the
|
/// Returns true if the `blacklister` has blacklisted the
|
||||||
/// `target_public_key`
|
/// `target_public_key`
|
||||||
async fn is_blacklisted(
|
async fn is_blacklisted(
|
||||||
&self,
|
&self,
|
||||||
|
|
Loading…
Reference in a new issue