Another poll bugfix
This commit is contained in:
parent
f5f4e7f9df
commit
b7829ed706
1 changed files with 1 additions and 1 deletions
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"]})
|
||||||
):
|
):
|
||||||
|
|
Loading…
Reference in a new issue