dont consume the update message so early

This commit is contained in:
lza_menace 2020-08-04 15:25:15 -07:00
parent bab0c80874
commit 66159e96b8
1 changed files with 0 additions and 1 deletions

View File

@ -58,7 +58,6 @@ def register(update, context):
if db.User.filter(telegram_id=uid, telegram_user=un):
update.message.reply_text('You are already registered. Use /help to see available bot commands.')
else:
update.message.reply_text('Your ID exists in the database already but your `first_name` attribute has changed. Updating.')
try:
u = db.User.get(telegram_id=uid)
u.telegram_user = un