mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Always notify about our own closed polls.
This commit is contained in:
parent
c55a2e4d13
commit
91ed98df0d
1 changed files with 2 additions and 2 deletions
|
@ -520,9 +520,9 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
|
|||
return;
|
||||
}
|
||||
|
||||
/* if it's a closed poll but we didn't vote, drop it */
|
||||
/* if it's a closed poll that is not ours and we didn't vote, drop it */
|
||||
if (strcmp(type, "Update") == 0 && strcmp(type, "Question") == 0) {
|
||||
if (!was_question_voted(snac, id))
|
||||
if (!xs_startswith(id, snac->actor) && !was_question_voted(snac, id))
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue