claude-in-slack-server
claude-in-slack-server copied to clipboard
An invalid conversation_id will cause the request to be blocked
When an invalid conversation_id is passed in, such as 1686491819.780519, the Slack API will return a new thread_ts,
if queue := message_mappings.get(f"{user_id}-{user_ts}"):
await queue.put(text)
await queue.join()
Here, message_mappings.get will be unable to retrieve elements, leading to the event not being pushed, and ultimately the request will be blocked.