Commit c4a4f60f authored by Philipp Hörist's avatar Philipp Hörist

GroupChat: Use correct key when formatting message

parent 890846fc
Pipeline #4233 passed with stages
in 2 minutes and 55 seconds
......@@ -1937,12 +1937,12 @@ class GroupchatControl(ChatControlBase):
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:
......
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