diff options
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r-- | nbxmpp/structs.py | 5 |
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): |