message: Add htmlText if not defined
diff: @@ -55,8 +55,11 @@ MatrixAction.prototype.formatMentions = function(nickUserIdMap) {
  userId = nickUserIdMap[nicks[0]];
  matchName = nicks[0];
  }
  + if (this.htmlText === undefined) {
  + this.htmlText = this.text;
  + }
  this.htmlText = this.htmlText.replace(
  - new RegExp(matchName, 'igm'),
  + matchName,
  `<a href="https://matrix.to/#/${userId}">${matchName}</a>`
  );
  }
  