Skip to content

Commit

Permalink
fix: tgbot user protocol edit bug
Browse files Browse the repository at this point in the history
  • Loading branch information
erfjab committed Jul 19, 2024
1 parent 2452eb9 commit ef82864
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 @@ -1316,7 +1316,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 ef82864

Please sign in to comment.