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-01 21:15:07 +0300
committerPhilipp Hörist <philipp@hoerist.com>2019-01-01 21:15:07 +0300
commit0b6dc8c9ae35fce92f9c5baed8fc56c6abfe214a (patch)
tree2aac2384fccdd1d288ade7f1836679f698dee2b1 /nbxmpp/structs.py
parentda5f7ab1da8e8c139fdcc0bad250fa8ccd79ae07 (diff)
Add self bare property
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r--nbxmpp/structs.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py
index c487539..2e55c8a 100644
--- a/nbxmpp/structs.py
+++ b/nbxmpp/structs.py
@@ -130,6 +130,7 @@ class PresenceProperties:
self.id = None
self.nickname = None
self.self_presence = False
+ self.self_bare = False
self.from_muc = False
self.status = ''
self.timestamp = time.time()
@@ -150,6 +151,10 @@ class PresenceProperties:
return self.self_presence
@property
+ def is_self_bare(self):
+ return self.self_bare
+
+ @property
def is_muc_destroyed(self):
return self.muc_destroyed is not None