Commit 0ee912a2 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Add property for self presence

parent ae343483
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment