docs: function sendMsg(that) {
          var msg, to, ids;
  
          // No msg sent.
          if (that.isDisabled()) return;
  
          msg = that.readTextarea();
  
          // Move cursor at the beginning.
          if (msg === '') {
              node.warn('Chat: message has no text, not sent.');
              return;
          }
          // Simplify things, if there is only one recipient.
          ids = that.recipientsIds;
          if (ids.length === 0) {
              node.warn('Chat: empty recipient list, message not sent.');
              return;
          }
          to = ids.length === 1 ? ids[0] : ids;
          that.writeMsg('outgoing', { msg: msg }); // to not used now.
          node.say(that.chatEvent, to, msg);
          // Make sure the cursor goes back to top.
          setTimeout(function() { that.textarea.value = ''; });
      }