Another poll bugfix

This commit is contained in:
Thomas Sileo 2019-07-12 23:52:21 +02:00
parent f5f4e7f9df
commit b7829ed706

2
app.py
View file

@ -3097,7 +3097,7 @@ def task_fetch_remote_question():
local_question local_question
and ( and (
local_question["meta"].get("voted_for") local_question["meta"].get("voted_for")
or local_question["meta"]["subscribed"] or local_question["meta"].get("subscribed")
) )
and not DB.notifications.find_one({"activity.id": remote_question["id"]}) and not DB.notifications.find_one({"activity.id": remote_question["id"]})
): ):