From 3497c09035e064ad9275a0708d7282e69d274136 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 14 Jul 2018 12:54:24 +0200 Subject: [PATCH] Tweak the admin stream --- app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.py b/app.py index ec77748..478a9f2 100644 --- a/app.py +++ b/app.py @@ -1356,8 +1356,7 @@ def api_undo(): @login_required def admin_stream(): q = { - "box": Box.INBOX.value, - "type": {"$in": [ActivityType.CREATE.value, ActivityType.ANNOUNCE.value]}, + "meta.stream": True, "meta.deleted": False, } inbox_data, older_than, newer_than = paginated_query(DB.activities, q)