Another poll bugfix
This commit is contained in:
2
app.py
2
app.py
@@ -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"]})
|
||||||
):
|
):
|
||||||
|
Reference in New Issue
Block a user