From 2d7e03d5b26412c5ecbe2894c97595ab921a1283 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 7 Jul 2019 17:56:23 +0200 Subject: [PATCH] Make a lookup trigger a question update --- app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.py b/app.py index 0bcb2b9..27f2a11 100644 --- a/app.py +++ b/app.py @@ -1456,6 +1456,9 @@ def admin_lookup(): actor=data.get_actor().to_dict(), ) + elif data.has_type(ActivityType.QUESTION): + p.push(data.id, "/task/fetch_remote_question") + print(data) app.logger.debug(data.to_dict()) return render_template(