performMessageAction

Handles selected messageAction. We only have three actions we can react to in the composer:

  • ThreadReply - We change the messageMode so we can send the message to a thread.

  • Reply - We need to reply to a message and set up the reply UI.

  • Edit - We need to change the input to the message we want to edit and change the UI to match the editing action.

Parameters

messageAction

The newly selected action.