diff options
author | Philipp Hörist <philipp@hoerist.com> | 2019-01-29 01:59:02 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2019-01-29 01:59:22 +0300 |
commit | bcf7fd1f61857cd0411645b48b58125fdd739ce3 (patch) | |
tree | e2fa46b42ca104eaf849c13776397dee54ad13e3 /nbxmpp/structs.py | |
parent | 18edd864e367a26b702965496c15444e9e3582be (diff) |
Add UserMood (XEP-0107) module
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r-- | nbxmpp/structs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py index c6e86e3..d79e13d 100644 --- a/nbxmpp/structs.py +++ b/nbxmpp/structs.py @@ -60,6 +60,8 @@ StanzaIDData.__new__.__defaults__ = (None, None) PubSubEventData = namedtuple('PubSubEventData', 'node id item data') +MoodData = namedtuple('MoodData', 'mood text') + class MAMData(namedtuple('MAMData', 'id query_id archive namespace timestamp')): |