diff --git a/app.py b/app.py index c2f32c3..c0fcd57 100644 --- a/app.py +++ b/app.py @@ -1397,7 +1397,10 @@ def admin_notifications(): "type": ActivityType.UNDO.value, "activity.object.type": ActivityType.FOLLOW.value, } - likes_query = {"type": ActivityType.LIKE.value} + likes_query = { + "type": ActivityType.LIKE.value, + "activity.object": {"$regex": f"^{BASE_URL}"}, + } followed_query = {"type": ActivityType.ACCEPT.value} q = { "box": Box.INBOX.value,