diff options
author | default <nobody@localhost> | 2023-05-31 22:12:44 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-05-31 22:12:44 +0200 |
commit | 91ed98df0dd80b84f8800873a01c4881748807cf (patch) | |
tree | ad6fde4119b74ad5c782715eca09eb974f828aba /activitypub.c | |
parent | c55a2e4d136995eb538ae1675d6478e4c3028e12 (diff) |
Always notify about our own closed polls.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index 4d873e7..f53f442 100644 --- a/activitypub.c +++ b/activitypub.c @@ -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; } |