if ((Array.isArray(query) && (query.length > 0)) || (!Array.isArray(query) && !!query)) {
    if ((this.message.length > 0) && (this.message[this.message.length - 1] === '.')) {
      this.message = this.message.slice(0, this.message.length - 1);
    }