Commit 7b0f5868 authored by Philipp Hörist's avatar Philipp Hörist

MessageProperties: Add more carbon propertys

parent 1eb1b504
Pipeline #4438 passed with stages
in 22 seconds
......@@ -613,6 +613,14 @@ class MessageProperties:
def is_carbon_message(self):
return self.carbon is not None
@property
def is_sent_carbon(self):
return self.carbon is not None and self.carbon.is_sent
@property
def is_received_carbon(self):
return self.carbon is not None and self.carbon.is_received
@property
def is_mam_message(self):
return self.mam is not None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment