fixed ephemeral slackbot messages (#3409)

This commit is contained in:
hagen-danswer
2024-12-10 10:00:34 -08:00
committed by GitHub
parent c6a79d847e
commit 48c10271c2

View File

@ -373,7 +373,9 @@ def handle_regular_answer(
respond_in_thread( respond_in_thread(
client=client, client=client,
channel=channel, 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!", text="Hello! Danswer has some results for you!",
blocks=all_blocks, blocks=all_blocks,
thread_ts=message_ts_to_respond_to, thread_ts=message_ts_to_respond_to,