claude-in-slack-server icon indicating copy to clipboard operation
claude-in-slack-server copied to clipboard

An invalid conversation_id will cause the request to be blocked

Open ack233 opened this issue 1 year ago • 2 comments

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.

ack233 avatar Jun 11 '23 15:06 ack233