Fixed ephemeral slackbot messages

This commit is contained in:
hagen-danswer
2024-12-10 07:57:28 -08:00
parent 06f4146597
commit 7f6a6944d6

View File

@@ -373,7 +373,9 @@ def handle_regular_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,