Make a lookup trigger a question update

This commit is contained in:
Thomas Sileo 2019-07-07 17:56:23 +02:00
parent 3e5d1c00b5
commit 2d7e03d5b2

3
app.py
View file

@ -1456,6 +1456,9 @@ def admin_lookup():
actor=data.get_actor().to_dict(), actor=data.get_actor().to_dict(),
) )
elif data.has_type(ActivityType.QUESTION):
p.push(data.id, "/task/fetch_remote_question")
print(data) print(data)
app.logger.debug(data.to_dict()) app.logger.debug(data.to_dict())
return render_template( return render_template(