forked from jmug/stoatchat
refactor: fix spelling of "suppress"
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -353,7 +353,7 @@ auto_derived!(
|
||||
#[repr(u32)]
|
||||
pub enum MessageFlags {
|
||||
/// Message will not send push / desktop notifications
|
||||
SupressNotifications = 1,
|
||||
SuppressNotifications = 1,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user