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-01-31 02:03:23 +0300
committerPhilipp Hörist <philipp@hoerist.com>2019-01-31 02:03:23 +0300
commit1cbd94ea9d3e0564ebc1669e3ea0a9f03f3dd995 (patch)
treef1750a75862112b804243477e431f4f0eb748da9 /nbxmpp/structs.py
parentbcf7fd1f61857cd0411645b48b58125fdd739ce3 (diff)
Add UserActivity (XEP-0107) module
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r--nbxmpp/structs.py2
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')):