Merge pull request 'Fix undefined variable in p2p_chat.py show_conversations handler' (#12) from v2_functions into master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #12
This commit is contained in:
@@ -204,7 +204,7 @@ async def show_conversations(callback: CallbackQuery):
|
|||||||
last_name=callback.from_user.last_name
|
last_name=callback.from_user.last_name
|
||||||
)
|
)
|
||||||
|
|
||||||
conversations = await P2PMessageService.get_recent_conversations(session, user.id, limit=10)
|
conversations = await P2PMessageService.get_recent_conversations(session, sender.id, limit=10)
|
||||||
|
|
||||||
if not conversations:
|
if not conversations:
|
||||||
await callback.message.edit_text(
|
await callback.message.edit_text(
|
||||||
|
|||||||
Reference in New Issue
Block a user