mirror of
https://github.com/discourse/discourse.git
synced 2026-08-19 01:14:56 -05:00
* FIX: Default parameter recipients to create new message via params must be a string The default parameter recipients was defined as an empty array in: - route:application#createNewMessageViaParams - mixin:open-composer#openComposerWithMessageParams However, in model:composer, targetRecipient is handled as a string as can be verified due to the existence of the #targetRecipientsArray computed property. Using the default parameter defined as an array was causing issues with the `discourse-bcc` plugin when opening the composer using the route /new-message. * DEV: Added tests for the composer messages for private messages * Fix test naming Co-authored-by: Mark VanLandingham <markvanlan@gmail.com> --------- Co-authored-by: Mark VanLandingham <markvanlan@gmail.com>