MCPcopy Create free account
hub / github.com/chatmail/core / is_system_message

Method is_system_message

src/message.rs:1088–1091  ·  view source on GitHub ↗

Returns true if the message is a system message.

(&self)

Source from the content-addressed store, hash-verified

1086
1087 /// Returns true if the message is a system message.
1088 pub fn is_system_message(&self) -> bool {
1089 let cmd = self.param.get_cmd();
1090 cmd != SystemMessage::Unknown
1091 }
1092
1093 /// Sets or unsets message text.
1094 pub fn set_text(&mut self, text: String) {

Callers 2

from_msgMethod · 0.45
send_msgFunction · 0.45

Calls 1

get_cmdMethod · 0.80

Tested by

no test coverage detected