Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2019-10-14 18:06:06 +0300
committerPhilipp Hörist <philipp@hoerist.com>2019-10-14 18:06:06 +0300
commit8cc2f1d3e7babb442a259d21bad5635345f8466f (patch)
treec3b13bcffd09f06a9a769f6bcfe735ab13158ff8 /nbxmpp/structs.py
parent22ddb4b89a8bdd94d96c7b4b0688117a2db17e86 (diff)
Add xhtml message attribute
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r--nbxmpp/structs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py
index 80aba76..98b28bc 100644
--- a/nbxmpp/structs.py
+++ b/nbxmpp/structs.py
@@ -553,6 +553,7 @@ class MessageProperties:
self.correction = None
self.attention = False
self.forms = None
+ self.xhtml = None
@property
def has_user_delay(self):
@@ -649,6 +650,10 @@ class MessageProperties:
def has_forms(self):
return self.forms is not None
+ @property
+ def has_xhtml(self):
+ return self.xhtml is not None
+
class IqProperties:
def __init__(self):