diff options
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, | |||
| 520 | return; | 520 | return; |
| 521 | } | 521 | } |
| 522 | 522 | ||
| 523 | /* if it's a closed poll but we didn't vote, drop it */ | 523 | /* if it's a closed poll that is not ours and we didn't vote, drop it */ |
| 524 | if (strcmp(type, "Update") == 0 && strcmp(type, "Question") == 0) { | 524 | if (strcmp(type, "Update") == 0 && strcmp(type, "Question") == 0) { |
| 525 | if (!was_question_voted(snac, id)) | 525 | if (!xs_startswith(id, snac->actor) && !was_question_voted(snac, id)) |
| 526 | return; | 526 | return; |
| 527 | } | 527 | } |
| 528 | 528 | ||