Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gajim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
196
Issues
196
List
Boards
Labels
Service Desk
Milestones
Merge Requests
21
Merge Requests
21
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim
Commits
8d5474af
Commit
8d5474af
authored
May 16, 2020
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MUCData: Add propertys
parent
fdfb0864
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
gajim/common/const.py
gajim/common/const.py
+24
-0
No files found.
gajim/common/const.py
View file @
8d5474af
...
...
@@ -216,6 +216,30 @@ class MUCJoinedState(Enum):
def
__str__
(
self
):
return
self
.
name
@
property
def
is_joined
(
self
):
return
self
==
MUCJoinedState
.
JOINED
@
property
def
is_not_joined
(
self
):
return
self
==
MUCJoinedState
.
NOT_JOINED
@
property
def
is_joining
(
self
):
return
self
==
MUCJoinedState
.
JOINING
@
property
def
is_creating
(
self
):
return
self
==
MUCJoinedState
.
CREATING
@
property
def
is_captcha_request
(
self
):
return
self
==
MUCJoinedState
.
CAPTCHA_REQUEST
@
property
def
is_captcha_failed
(
self
):
return
self
==
MUCJoinedState
.
CAPTCHA_FAILED
class
ClientState
(
IntEnum
):
DISCONNECTING
=
0
...
...
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