diff --git a/daemons/management/commands/notification_manager.py b/daemons/management/commands/notification_manager.py index b7c332e..f151f60 100644 --- a/daemons/management/commands/notification_manager.py +++ b/daemons/management/commands/notification_manager.py @@ -54,8 +54,8 @@ class Command(MessagingSupport): message = f"Пользователь {from_user.username} хочет добавить тебя в друзья" if user.userinfo.notification_telegram: yield "telegram", {"chat_id": user.userinfo.telegram_chat_id, "text": message} - if user.userinfo.notification_email: - yield "email", {"subject": "Новая заявка в друзья", "message": message, "email": user.email} + # if user.userinfo.notification_email: + # yield "email", {"subject": "Новая заявка в друзья", "message": message, "email": user.email} def handle_friends_accept(self, payload): user = User.objects.get(id=payload['to_user'])