From af88b784786dc3f354ddb8e6a1a8cb2bbf4c44b4 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 1 Jun 2023 17:00:17 +0200 Subject: [PATCH] Fixed typo in notify(). --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;