Skip to content
Permalink
Browse files

Fix spacing in edited Telegram message prefix.

  • Loading branch information...
Tjzabel authored and jwflory committed Jul 19, 2019
1 parent 2ba49fa commit 3a401d4d1b39c36904287bc5b1ccb484b0ed2454
Showing with 2 additions and 2 deletions.
  1. +1 −1 config.js
  2. +1 −1 lib/TelegramHandlers/TgEventListener.js
@@ -18,7 +18,7 @@ let settings = {
showLeaveMessage: process.env.IRC_SHOW_LEAVE_MESSAGE === "true" || true,
nickservPassword: process.env.IRC_NICKSERV_PASS || "",
nickservService: process.env.IRC_NICKSERV_SERVICE || "",
editedPrefix: process.env.IRC_EDITED_PREFIX || "[EDIT] ",
editedPrefix: process.env.IRC_EDITED_PREFIX || "[EDIT]",
maxMessageLength: Number(process.env.IRC_MAX_MESSAGE_LENGTH) || 400,
},
tg: {
@@ -83,7 +83,7 @@ class TgEventListener extends EventEmitter {
ParseEditedMessage(msg) {
if (msg.text) {
return this.ParseMessage(Object.assign({}, msg, {
text: `${this._ircEditPrefix}${msg.text}`
text: `${this._ircEditPrefix} ${msg.text}`
}));
} else {
return this.ParseMessage(msg);

0 comments on commit 3a401d4

Please sign in to comment.
You can’t perform that action at this time.