Merge pull request 'Fix UserService method call in P2P chat handler' (#16) 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: #16
This commit is contained in:
@@ -381,7 +381,7 @@ async def handle_p2p_message(message: Message, state: FSMContext):
|
||||
)
|
||||
|
||||
# Получаем информацию о получателе для определения как подписать сообщение
|
||||
recipient = await UserService.get_by_telegram_id(session, recipient_telegram_id)
|
||||
recipient = await UserService.get_user_by_telegram_id(session, recipient_telegram_id)
|
||||
|
||||
# Формируем подпись сообщения для получателя
|
||||
if sender.is_admin:
|
||||
|
||||
Reference in New Issue
Block a user