diff options
| author | 2023-06-02 10:58:49 +0200 | |
|---|---|---|
| committer | 2023-06-02 10:58:49 +0200 | |
| commit | 84152d67f5c5158b1e75ce67c13e4af696e3f305 (patch) | |
| tree | bbf853ce17a95661d0fce8f234db450e6b1fcd14 /html.c | |
| parent | Fixed bug in vote discarding in notify(). (diff) | |
| download | snac2-84152d67f5c5158b1e75ce67c13e4af696e3f305.tar.gz snac2-84152d67f5c5158b1e75ce67c13e4af696e3f305.tar.xz snac2-84152d67f5c5158b1e75ce67c13e4af696e3f305.zip | |
Fixed bug in notify() (the poll id was not set).
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1402,7 +1402,7 @@ xs_str *html_notifications(snac *snac) | |||
| 1402 | const char *utype = xs_dict_get(noti, "utype"); | 1402 | const char *utype = xs_dict_get(noti, "utype"); |
| 1403 | const char *id = xs_dict_get(noti, "objid"); | 1403 | const char *id = xs_dict_get(noti, "objid"); |
| 1404 | 1404 | ||
| 1405 | if (!valid_status(object_get(id, &obj))) | 1405 | if (xs_is_null(id) || !valid_status(object_get(id, &obj))) |
| 1406 | continue; | 1406 | continue; |
| 1407 | 1407 | ||
| 1408 | if (is_hidden(snac, id)) | 1408 | if (is_hidden(snac, id)) |