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
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
178
Issues
178
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poezio
poezio
Commits
8cbd8dab
Commit
8cbd8dab
authored
Feb 25, 2019
by
ge0rg
Committed by
Maxime Buquet
Mar 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
self-ping: match error responses to XEP-0410
parent
f7e3e003
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
poezio/tabs/muctab.py
poezio/tabs/muctab.py
+2
-1
No files found.
poezio/tabs/muctab.py
View file @
8cbd8dab
...
...
@@ -1151,7 +1151,8 @@ class MucTab(ChatTab):
timeout
=
timeout
)
def
on_self_ping_result
(
self
,
iq
):
if
iq
[
"type"
]
==
"error"
and
iq
[
"error"
][
"condition"
]
!=
"feature-not-implemented"
:
if
iq
[
"type"
]
==
"error"
and
iq
[
"error"
][
"condition"
]
not
in
\
(
"feature-not-implemented"
,
"service-unavailable"
,
"item-not-found"
):
self
.
command_cycle
(
iq
[
"error"
][
"text"
]
or
"not in this room"
)
self
.
core
.
refresh_window
()
else
:
# Re-send a self-ping in a few seconds
...
...
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