Currently there are the 2 monolithic methods:
- send - does rendering + delivery and post-processing. Proposed solution - factor out the rendering
- postSend does 3 things: Decides to save or not, handles saving / or not of the rendered output to fields, saves the message if deemed so. proposed solution - move each action in a designated method that could be customized by ancestors (custom plug-ins).
POC can be seen here #36
Currently there are the 2 monolithic methods:
POC can be seen here #36