clippy fix

This commit is contained in:
Sebastian Klähn
2022-12-03 22:13:53 +01:00
parent f9a5cf9b11
commit 32d54c8b93
2 changed files with 2 additions and 2 deletions

View File

@@ -1293,7 +1293,7 @@ impl Chat {
self.param.get_bool(Param::Unpromoted).unwrap_or_default()
}
/// Returns wheter the chat is promoted which means that a message has been
/// Returns wheter the chat is promoted which means that a message has been
/// send to it and it not only exists on the users device.
pub fn is_promoted(&self) -> bool {
!self.is_unpromoted()

View File

@@ -30,7 +30,7 @@ use crate::message::{
self, rfc724_mid_exists, Message, MessageState, MessengerMessage, MsgId, Viewtype,
};
use crate::mimeparser::{
parse_message_id, parse_message_ids, AvatarAction, MailinglistType, MimeMessage, SystemMessage,
parse_message_ids, AvatarAction, MailinglistType, MimeMessage, SystemMessage,
};
use crate::param::{Param, Params};
use crate::peerstate::{Peerstate, PeerstateKeyType, PeerstateVerifiedStatus};