Show only granted gates in menu

This commit is contained in:
2025-05-24 00:08:08 +02:00
parent 5b8cbf8b9f
commit 9af398faef
5 changed files with 35 additions and 8 deletions

View File

@@ -45,6 +45,6 @@ async def handle_main_menu_callback(update: Update, context: ContextTypes.DEFAUL
assert query is not None
data = query.data
if data == "open_gate_menu":
await open_gate_menu(update, context, gates=gates)
await open_gate_menu(update, context, users=users, gates=gates)
elif data == "request_access":
await requestaccess(update, context, users=users)