ProtectedrecipientProtectedrecipientsStaticSHOWN_Recipients shown by avatar before the rest are counted, as a large group's would crowd the composer.
Get the data to submit to the server when the discussion is saved.
Build an item list for the composer's header.
Handle the submit event of the text editor.
Why someone can't be picked as a recipient, if they can't: they couldn't reply. The server still has the final say when the message is sent.
How many recipients to show by avatar: the groups, all shown, take their places first.
StaticfocusStaticinitInitialize the component's attrs.
This can be used to assign default values for missing, optional attrs.
The
MessageComposercomponent displays the composer content for sending a new message. It adds a selection field as a header control so the user can enter the recipient(s) of their message.