Make sure Message.validate() returns True on success
This commit is contained in:
parent
c2b2181c7f
commit
8a63de9740
1 changed files with 2 additions and 0 deletions
|
@ -375,6 +375,8 @@ class Message(DatabaseTable):
|
|||
if self.header('Path') is None:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
@staticmethod
|
||||
def from_text(text: str):
|
||||
message = Message()
|
||||
|
|
Loading…
Add table
Reference in a new issue