refactor: fix spelling of "suppress"

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

No files matched your search

@@ -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
}