Fixed typo in notify().

This commit is contained in:
default 2023-06-01 17:00:17 +02:00
parent e87d5b7e20
commit af88b78478

View File

@ -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;