diff options
| author | 2023-06-01 17:00:17 +0200 | |
|---|---|---|
| committer | 2023-06-01 17:00:17 +0200 | |
| commit | af88b784786dc3f354ddb8e6a1a8cb2bbf4c44b4 (patch) | |
| tree | d3d91a23e9ab02c61f4a92d93f30269bf705a29f | |
| parent | Another tweak in notify(). (diff) | |
| download | snac2-af88b784786dc3f354ddb8e6a1a8cb2bbf4c44b4.tar.gz snac2-af88b784786dc3f354ddb8e6a1a8cb2bbf4c44b4.tar.xz snac2-af88b784786dc3f354ddb8e6a1a8cb2bbf4c44b4.zip | |
Fixed typo in notify().
| -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; |