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-02 18:55:17 +0300
committerPhilipp Hörist <philipp@hoerist.com>2019-01-02 18:55:17 +0300
commitfbe98a3ee7d340662da9682f5730d362a566236b (patch)
tree24deefa57ffc5cfa45f505066659c68fdef1ac26 /nbxmpp/structs.py
parent0b6dc8c9ae35fce92f9c5baed8fc56c6abfe214a (diff)
Add BaseIq handler
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r--nbxmpp/structs.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py
index 2e55c8a..f1d1569 100644
--- a/nbxmpp/structs.py
+++ b/nbxmpp/structs.py
@@ -50,6 +50,7 @@ MucDestroyed.__new__.__defaults__ = (None, None, None)
EntityCapsData = namedtuple('EntityCapsData', 'hash node ver')
EntityCapsData.__new__.__defaults__ = (None, None, None)
+
class Properties:
pass
@@ -65,8 +66,7 @@ class MessageProperties:
self.thread = None
self.user_timestamp = None
self.timestamp = time.time()
- self.error_code = None
- self.error_message = None
+ self.error = None
self.eme = None
self.http_auth = None
self.nickname = None
@@ -113,6 +113,12 @@ class MessageProperties:
class IqProperties:
def __init__(self):
+ self.type = None
+ self.jid = None
+ self.id = None
+ self.error = None
+ self.query = None
+ self.payload = None
self.http_auth = None
@property