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-09-28 01:37:26 +0300
committerPhilipp Hörist <philipp@hoerist.com>2019-09-29 02:12:58 +0300
commit550decfd858f91fa5ada54ea0473da4831d85d05 (patch)
tree139fcd8f3cd219c5ae07ccab39c9a08b1d90b422 /nbxmpp/structs.py
parent589c0417455010c0ba1a41aae203b3e3ded942d5 (diff)
Add Bookmarks 2 (XEP-0402) support
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r--nbxmpp/structs.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py
index c4649d9..f77e0c5 100644
--- a/nbxmpp/structs.py
+++ b/nbxmpp/structs.py
@@ -70,8 +70,12 @@ HTTPAuthData.__new__.__defaults__ = (None, None, None, None)
StanzaIDData = namedtuple('StanzaIDData', 'id by')
StanzaIDData.__new__.__defaults__ = (None, None)
-PubSubEventData = namedtuple('PubSubEventData', 'node id item data empty deleted retracted')
-PubSubEventData.__new__.__defaults__ = (None, None, None, False, False, False)
+PubSubEventData = namedtuple('PubSubEventData', 'node id item data empty deleted retracted purged')
+PubSubEventData.__new__.__defaults__ = (None, None, None, False, False, False, False)
+
+PubSubConfigResult = namedtuple('PubSubConfigResult', 'jid node form')
+
+PubSubPublishResult = namedtuple('PubSubPublishResult', 'jid node id')
MoodData = namedtuple('MoodData', 'mood text')