message: small codestyle fixes
diff: @@ -13,6 +13,7 @@ const NAME_MXC_INSERT_REGEX_GROUP = 1;
  const ANIMATED_MXC_INSERT_REGEX_GROUP = 2;
  const ID_MXC_INSERT_REGEX_GROUP = 3;
  const EMOJI_SIZE = 32;
  +const MAX_EDIT_MSG_LENGTH = 50;
  export class DiscordMessageProcessorOpts {
  constructor(readonly domain: string, readonly bot?: DiscordBot) {
  @@ -81,7 +82,6 @@ export class DiscordMessageProcessor {
  newMsg: Discord.Message,
  link?: string,
  ): Promise<DiscordMessageProcessorResult> {
  - // https://matrix.to/#/!room/$event
  oldMsg.embeds = []; // we don't want embeds on old msg
  const oldMsgParsed = await this.FormatMessage(oldMsg);
  const newMsgParsed = await this.FormatMessage(newMsg);
  @@ -91,8 +91,8 @@ export class DiscordMessageProcessor {
  oldMsg.content = `*edit:* ~~${oldMsg.content}~~ -> ${newMsg.content}`;
  const linkStart = link ? `<a href="${escapeHtml(link)}">` : "";
  const linkEnd = link ? "</a>" : "";
  - const MAX_MSG_LENGTH = 50;
  - if (oldMsg.content.includes("\n") || newMsg.content.includes("\n") || newMsg.content.length > MAX_MSG_LENGTH) {
  + if (oldMsg.content.includes("\n") || newMsg.content.includes("\n")
  + || newMsg.content.length > MAX_EDIT_MSG_LENGTH) {
  result.formattedBody = `<p>${linkStart}<em>edit:</em>${linkEnd}</p><p><del>${oldMsgParsed.formattedBody}` +
  `</del></p><hr><p>${newMsgParsed.formattedBody}</p>`;
  } else {
  