Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: 7b0f5868 by Philipp Hörist at 2019-11-02T20:38:33Z MessageProperties: Add more carbon propertys
- - - - -
1 changed file:
- nbxmpp/structs.py
Changes:
===================================== nbxmpp/structs.py ===================================== @@ -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
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/commit/7b0f5868cd169c9411578268ead...