diff options
author | default <nobody@localhost> | 2023-06-01 17:00:17 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-06-01 17:00:17 +0200 |
commit | af88b784786dc3f354ddb8e6a1a8cb2bbf4c44b4 (patch) | |
tree | d3d91a23e9ab02c61f4a92d93f30269bf705a29f /activitypub.c | |
parent | e87d5b7e20f468b09efe8fbabe0bd5320cc2922b (diff) |
Fixed typo in notify().
Diffstat (limited to 'activitypub.c')
-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, } /* updated poll? */ - if (strcmp(type, "Update") == 0 && strcmp(type, "Question") == 0) { + if (strcmp(type, "Update") == 0 && strcmp(utype, "Question") == 0) { /* if it's not closed, discard */ if (xs_is_null(xs_dict_get(msg, "closed"))) return; |