Skip to content

Commit

Permalink
Fix #730 : Send a message when Telegram integration was configured wi…
Browse files Browse the repository at this point in the history
…th success
  • Loading branch information
Pierre-Gilles committed Jul 28, 2020
1 parent 5e3c720 commit a7f8fbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/services/telegram/lib/message.linkUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ async function linkUser(apiKey, chatId) {
telegram_user_id: chatId,
});
logger.debug(`Telegram user linked with success.`);
// sending message to confirm
await this.send(chatId, {
text: '👋',
});
}

module.exports = {
Expand Down

0 comments on commit a7f8fbf

Please sign in to comment.