Skip to content

Commit

Permalink
fixed ephemeral slackbot messages (#3409)
Browse files Browse the repository at this point in the history
  • Loading branch information
hagen-danswer authored Dec 10, 2024
1 parent c6a79d8 commit 48c1027
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ def _get_slack_answer(
respond_in_thread(
client=client,
channel=channel,
receiver_ids=receiver_ids,
receiver_ids=[message_info.sender]
if message_info.is_bot_msg and message_info.sender
else receiver_ids,
text="Hello! Danswer has some results for you!",
blocks=all_blocks,
thread_ts=message_ts_to_respond_to,
Expand Down

0 comments on commit 48c1027

Please sign in to comment.