diff options
author | Philipp Hörist <philipp@hoerist.com> | 2019-01-31 02:03:23 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2019-01-31 02:03:23 +0300 |
commit | 1cbd94ea9d3e0564ebc1669e3ea0a9f03f3dd995 (patch) | |
tree | f1750a75862112b804243477e431f4f0eb748da9 /nbxmpp/structs.py | |
parent | bcf7fd1f61857cd0411645b48b58125fdd739ce3 (diff) |
Add UserActivity (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 d79e13d..a45a7ab 100644 --- a/nbxmpp/structs.py +++ b/nbxmpp/structs.py @@ -62,6 +62,8 @@ PubSubEventData = namedtuple('PubSubEventData', 'node id item data') MoodData = namedtuple('MoodData', 'mood text') +ActivityData = namedtuple('ActivityData', 'activity subactivity text') + class MAMData(namedtuple('MAMData', 'id query_id archive namespace timestamp')): |