Fix "cannot access local variable" for bot direct messages (#1737)

* Update handle_message.py

* Update handle_message.py

* Update handle_message.py

---------

Co-authored-by: hagen-danswer <hagen@danswer.ai>
This commit is contained in:
Christoph Petzold 2024-07-03 00:36:23 +02:00 committed by GitHub
parent 1a3ec59610
commit 3ebac6256f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,6 +229,7 @@ def handle_message(
send_to: list[str] | None = None
respond_tag_only = False
respond_team_member_list = None
respond_slack_group_list = None
bypass_acl = False
if (