Allow broadcast placeholders only on notifications
With BroadcastMessages !25925 (merged) we added the ability to add placeholders to broadcast messages. However, these placeholders only make sense in the UI (therefore broadcast notification messages).
We only want to support those placeholders for notifications and therefore need to change the render_broadcast_message
method. However this also needs to be reflected in the preview of broadcast messages, which currently does not get re-rendered properly since we don't re-render it via the pipeline when the type gets changed.
TODO
-
Rerender when type changes -
Only render placeholders for notifications
Edited by Nicolas Dular