Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
voroncv committed Apr 22, 2018
1 parent e7a9c55 commit f026118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const superWizard = new WizardScene('super-wizard',
if(ctx.message !== undefined) {
referalId = ctx.message.text
if(ctx.chat.type !== 'private') {
return ctx.reply(`Hi, ${ctx.message.chat.from.first_name}!`, Markup.removeKeyboard().extra())
return ctx.reply(`Hi, ${ctx.message.from.first_name}!`, Markup.removeKeyboard().extra())
}
} else if(ctx.update.callback_query.message.chat.type !== undefined) {
referalId = ctx.update.callback_query.message.text
Expand Down

0 comments on commit f026118

Please sign in to comment.