Skip to content

Commit

Permalink
Merge branch 'erfjab-fix-tgbot-edit-user-error' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintShit committed Jul 29, 2024
2 parents 3b51251 + 625ff34 commit 41e5295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/telegram/handlers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ def select_protocols(call: types.CallbackQuery):
{protocol: [inbound['tag'] for inbound in xray.config.inbounds_by_protocol[protocol]]})
mem_store.set(f'{call.message.chat.id}:protocols', protocols)

if action == ["edit", "create_from_template"]:
if action in ["edit", "create_from_template"]:
return bot.edit_message_text(
call.message.text,
call.message.chat.id,
Expand Down

0 comments on commit 41e5295

Please sign in to comment.