Optionally threading posts to parent topic in slack integration

Does the ‘threading’ boolean really need to be per-rule? Why not make a new site setting

chat_integration_slack_thread_responses

If that is enabled, and we have a record of the topic’s thread ID, then we send subsequent notifications to the slack thread.

Yeah, I think that’s totally fine. Just use a slack-specific topic custom field. If we feel the need to implement this for other providers later, we can make the solution more generic.

Yeah, this is very tricky. As a v1, I would be tempted to include something like

<!--SLACK_THREAD_ID=abcdefg-->

at the top of the post. Then the plugin can check for posts which start with this string, and assign the custom field. It’s not perfect, but maybe a good starting point?

2 Likes