diff options
| author | 2023-04-14 12:23:32 +0200 | |
|---|---|---|
| committer | 2023-04-14 12:23:32 +0200 | |
| commit | cb616d6eb53af387e128bb7ce624f161907f4ed9 (patch) | |
| tree | 5aa931a0288123640f5ccfd947b29aec75584817 /mastoapi.c | |
| parent | Show a top link to the (future) notifications area, including a count of new ... (diff) | |
| download | snac2-cb616d6eb53af387e128bb7ce624f161907f4ed9.tar.gz snac2-cb616d6eb53af387e128bb7ce624f161907f4ed9.tar.xz snac2-cb616d6eb53af387e128bb7ce624f161907f4ed9.zip | |
New notifications web page.
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -882,6 +882,9 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, | |||
| 882 | if (objid != NULL && !valid_status(object_get(objid, &entry))) | 882 | if (objid != NULL && !valid_status(object_get(objid, &entry))) |
| 883 | continue; | 883 | continue; |
| 884 | 884 | ||
| 885 | if (is_hidden(&snac1, objid)) | ||
| 886 | continue; | ||
| 887 | |||
| 885 | /* convert the type */ | 888 | /* convert the type */ |
| 886 | if (strcmp(type, "Like") == 0) | 889 | if (strcmp(type, "Like") == 0) |
| 887 | type = "favourite"; | 890 | type = "favourite"; |