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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,