Skip to content

Commit

Permalink
Fix spacing in edited Telegram message prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tjzabel authored and jwflory committed Jul 19, 2019
1 parent 2ba49fa commit 3a401d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.js
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion lib/TelegramHandlers/TgEventListener.js
Expand Up @@ -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);
Expand Down

0 comments on commit 3a401d4

Please sign in to comment.