42wim / matterircd

Connect to your mattermost or slack using your IRC-client of choice.
MIT License
294 stars 60 forks source link

Revert Slack message sending back to text + attachment instead of blocks #342

Closed Aketzu closed 3 years ago

Aketzu commented 3 years ago

Simple fix for #341

42wim commented 3 years ago

Ok, you've got a point with your issue 👍

But I'd like to make this optional (as I'm not sure how long slack will support the non-blocks version), they advise everyone to migrate to the blocks thing.

Could you modify your PR to make it optional and call it useLegacyMessaging ? So that the default setting is still with blocks.

Aketzu commented 3 years ago

Apparently Slack started filtering extra data from attachments so this approach for echo prevention doesn't work. (Also force pushed to repo a few new things so diff is "wrong")