remove bot-tonconnect, fix auth last_use
This commit is contained in:
1 parent
c4c373809a
commit
e927ea2b6d
4 files changed
+10
-9
No files matched your search
@@ -15,7 +15,7 @@ async def send_home_menu(chat_wrap, user, wallet_connection, **kwargs):
|
||||
chat_wrap, user.translated('home_menu').format(
|
||||
wallet_address=(
|
||||
Address(wallet_connection.wallet_address).to_string(1, 1, 1)
|
||||
if wallet_connection else user.translated('noWalletConnected')
|
||||
if wallet_connection else user.translated('p_walletNotConnected')
|
||||
),
|
||||
name=user.front_format(plain_text=True),
|
||||
), keyboard=get_inline_keyboard([
|
||||
@@ -26,7 +26,7 @@ async def send_home_menu(chat_wrap, user, wallet_connection, **kwargs):
|
||||
[{
|
||||
'text': user.translated('disconnectWallet_button'),
|
||||
'callback_data': 'disconnectWallet'
|
||||
}]
|
||||
}] if wallet_connection else []
|
||||
]), **kwargs
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user