gabrieljackson / mattermost-plugin-wrangler

Manage Mattermost Messages Masterfully!
Apache License 2.0
49 stars 12 forks source link

Improve 'move thread' post cleanup logic #15

Closed gabrieljackson closed 4 years ago

gabrieljackson commented 4 years ago

This change removes unnecessary complexity from the post cleanup logic in the 'move thread' command. Only the root post in the thread is deleted via the API now. The replies to that thread are automatically marked as deleted from this process.

This removes complexity and lowers the possibility of an error being encountered.