refactor: fix spelling of "suppress"

This commit is contained in:
Paul Makles
2024-06-26 19:48:42 +01:00
parent d9cfc9d0e1
commit ce20e689cc
2 changed files with 3 additions and 3 deletions

View File

@@ -505,8 +505,8 @@ impl Message {
/// Whether this message has suppressed notifications
pub fn has_suppressed_notifications(&self) -> bool {
if let Some(flags) = self.flags {
flags & MessageFlags::SupressNotifications as i32
== MessageFlags::SupressNotifications as i32
flags & MessageFlags::SuppressNotifications as i32
== MessageFlags::SuppressNotifications as i32
} else {
false
}

View File

@@ -353,7 +353,7 @@ auto_derived!(
#[repr(u32)]
pub enum MessageFlags {
/// Message will not send push / desktop notifications
SupressNotifications = 1,
SuppressNotifications = 1,
}
);