mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-01 10:10:49 +02:00
fixed ephemeral slackbot messages (#3409)
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user