diff --git a/files/routes/chats.py b/files/routes/chats.py index 65b163948..e015b134d 100644 --- a/files/routes/chats.py +++ b/files/routes/chats.py @@ -262,10 +262,14 @@ def schedule_orgy(v, chat_id): ma = ModAction( kind="schedule_orgy", user_id=v.id, - _note=f'{title}', + _note=f'{title}', ) g.db.add(ma) + if AEVANN_ID and v.id != AEVANN_ID: + text = f"@{v.username} has started [{title}]({normalized_link}) in [{chat.name}](/chat/{chat.id})" + send_repeatable_notification(AEVANN_ID, text) + return redirect(f"/chat/{chat_id}/orgies") @app.post("/chat//remove_orgy/")