mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 18:36:30 +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> {
|
pub fn get_setupcodebegin(&self, context: &Context) -> Option<String> {
|
||||||
if self.is_setupmessage() {
|
if !self.is_setupmessage() {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user