commit af88b78
default
·
2023-06-01 15:00:17 +0000 UTC
parent e87d5b7
Fixed typo in notify().
1 files changed,
+1,
-1
+1,
-1
1@@ -519,7 +519,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
2 }
3
4 /* updated poll? */
5- if (strcmp(type, "Update") == 0 && strcmp(type, "Question") == 0) {
6+ if (strcmp(type, "Update") == 0 && strcmp(utype, "Question") == 0) {
7 /* if it's not closed, discard */
8 if (xs_is_null(xs_dict_get(msg, "closed")))
9 return;