snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit af88b784786dc3f354ddb8e6a1a8cb2bbf4c44b4
parent e87d5b7e20f468b09efe8fbabe0bd5320cc2922b
Author: default <nobody@localhost>
Date:   Thu,  1 Jun 2023 17:00:17 +0200

Fixed typo in notify().

Diffstat:
Mactivitypub.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;