Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sophie Herold
gajim
Commits
f3dd55de
Commit
f3dd55de
authored
Aug 19, 2018
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add reason to MUC service-error kick
parent
9e3e6f80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
gajim/groupchat_control.py
gajim/groupchat_control.py
+2
-0
No files found.
gajim/groupchat_control.py
View file @
f3dd55de
...
...
@@ -1828,6 +1828,8 @@ class GroupchatControl(ChatControlBase):
s
=
_
(
'%s kicked us due to an error'
%
self
.
room_jid
)
else
:
s
=
_
(
'%s has left due to an error'
%
nick
)
if
obj
.
reason
:
s
+=
' (%s)'
%
obj
.
reason
self
.
print_conversation
(
s
,
'info'
,
graphics
=
False
)
elif
'307'
in
obj
.
status_code
:
if
obj
.
actor
is
None
:
# do not print 'kicked by 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