Update src/chat.rs

Co-authored-by: Hocuri <hocuri@gmx.de>
This commit is contained in:
Sebastian Klähn
2022-12-11 11:09:09 +01:00
committed by Sebastian Klähn
parent f3614536d9
commit 99923fd816

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 whether 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()