mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 06:56:29 +03:00
fix boolean error that makes get_setupcodebegin() failing
This commit is contained in:
@@ -345,7 +345,7 @@ impl Message {
|
||||
}
|
||||
|
||||
pub fn get_setupcodebegin(&self, context: &Context) -> Option<String> {
|
||||
if self.is_setupmessage() {
|
||||
if !self.is_setupmessage() {
|
||||
return None;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user