Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
-
7b0f5868
by Philipp Hörist at 2019-11-02T20:38:33Z
1 changed file:
Changes:
| ... | ... | @@ -613,6 +613,14 @@ class MessageProperties: |
| 613 | 613 |
def is_carbon_message(self):
|
| 614 | 614 |
return self.carbon is not None
|
| 615 | 615 |
|
| 616 |
+ @property
|
|
| 617 |
+ def is_sent_carbon(self):
|
|
| 618 |
+ return self.carbon is not None and self.carbon.is_sent
|
|
| 619 |
+ |
|
| 620 |
+ @property
|
|
| 621 |
+ def is_received_carbon(self):
|
|
| 622 |
+ return self.carbon is not None and self.carbon.is_received
|
|
| 623 |
+ |
|
| 616 | 624 |
@property
|
| 617 | 625 |
def is_mam_message(self):
|
| 618 | 626 |
return self.mam is not None
|