Skip to content

Commit

Permalink
[BASE] now for force_close will be for all departments, except you sp…
Browse files Browse the repository at this point in the history
…ecify in

advanced force close, ex: {"dpto_id": "override with this msg", "other_dpto_id": null}
  • Loading branch information
dudanogueira committed Aug 20, 2024
1 parent 0960a57 commit 02e0a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocket_connect/plugins/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ def get_close_message(self, department=None):
close_message = self.config.get(
"advanced_force_close_message",
None,
).get(department, None)
).get(department, force_close_message)
except KeyError:
close_message = None
# pass room as context for close_message as template
Expand Down

0 comments on commit 02e0a02

Please sign in to comment.