mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 11:40:27 +03:00
Fixed typo in notify().
This commit is contained in:
parent
e87d5b7e20
commit
af88b78478
@ -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 New Issue
Block a user