dev@locazia: add User.front_format

This commit is contained in:
user committed 2024-02-29 01:41:39 +03:00
1 parent 994374a087
commit ef2419d8ea
2 files changed
+8 -1

No files matched your search

+2 -1
View File
@@ -14,7 +14,8 @@ main_router = Router()
async def send_home_menu(chat_wrap, user, wallet_connection, **kwargs):
return await tg_process_template(
chat_wrap, user.translated('home_menu').format(
wallet_address=wallet_connection.wallet_address
wallet_address=wallet_connection.wallet_address,
name=user.front_format(plain_text=True),
), keyboard=get_inline_keyboard([
[{
'text': user.translated('ownedContent_button'),