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
22
Merge Requests
22
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
c4a4f60f
Commit
c4a4f60f
authored
Sep 15, 2019
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GroupChat: Use correct key when formatting message
parent
890846fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gajim/groupchat_control.py
gajim/groupchat_control.py
+2
-2
No files found.
gajim/groupchat_control.py
View file @
c4a4f60f
...
...
@@ -1937,12 +1937,12 @@ def _on_user_left(self, event):
elif
StatusCode
.
REMOVED_AFFILIATION_CHANGE
in
status_codes
:
reason
=
_
(
': Affiliation changed'
)
message
=
message
.
format
(
nick
=
nick
,
actor
=
actor
,
reason
=
reason
)
message
=
message
.
format
(
nick
=
nick
,
by
=
actor
,
reason
=
reason
)
self
.
add_info_message
(
message
)
elif
StatusCode
.
REMOVED_NONMEMBER_IN_MEMBERS_ONLY
in
status_codes
:
reason
=
_
(
': Group chat configuration changed to members-only'
)
message
=
message
.
format
(
nick
=
nick
,
actor
=
actor
,
reason
=
reason
)
message
=
message
.
format
(
nick
=
nick
,
by
=
actor
,
reason
=
reason
)
self
.
add_info_message
(
message
)
elif
print_join_left
:
...
...
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