mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +03:00
Do not send read receipts for system messages
This commit is contained in:
@@ -600,6 +600,11 @@ impl Message {
|
||||
|| cmd != SystemMessage::Unknown && cmd != SystemMessage::AutocryptSetupMessage
|
||||
}
|
||||
|
||||
pub fn is_system_message(&self) -> bool {
|
||||
let cmd = self.param.get_cmd();
|
||||
cmd != SystemMessage::Unknown
|
||||
}
|
||||
|
||||
/// Whether the message is still being created.
|
||||
///
|
||||
/// Messages with attachments might be created before the
|
||||
|
||||
Reference in New Issue
Block a user