diff options
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 066a49d..dddeb20 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -519,7 +519,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor, | |||
| 519 | } | 519 | } |
| 520 | 520 | ||
| 521 | /* updated poll? */ | 521 | /* updated poll? */ |
| 522 | if (strcmp(type, "Update") == 0 && strcmp(type, "Question") == 0) { | 522 | if (strcmp(type, "Update") == 0 && strcmp(utype, "Question") == 0) { |
| 523 | /* if it's not closed, discard */ | 523 | /* if it's not closed, discard */ |
| 524 | if (xs_is_null(xs_dict_get(msg, "closed"))) | 524 | if (xs_is_null(xs_dict_get(msg, "closed"))) |
| 525 | return; | 525 | return; |