Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marcin Mielniczuk
python-nbxmpp
Commits
0ee912a2
Commit
0ee912a2
authored
Jan 01, 2019
by
Philipp Hörist
Browse files
Add property for self presence
parent
ae343483
Changes
1
Hide whitespace changes
Inline
Side-by-side
nbxmpp/structs.py
View file @
0ee912a2
...
...
@@ -141,6 +141,10 @@ class PresenceProperties:
self
.
muc_nickname
=
None
self
.
muc_destroyed
=
None
@
property
def
is_self_presence
(
self
):
return
self
.
self_presence
@
property
def
is_muc_destroyed
(
self
):
return
self
.
muc_destroyed
is
not
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment