mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15:04 +00:00
Fixed typo in notify().
This commit is contained in:
parent
e87d5b7e20
commit
af88b78478
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue