diff options
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2577,7 +2577,7 @@ xs_list *content_search(snac *user, const char *regex, | |||
| 2577 | if (!valid_status(timeline_get_by_md5(user, md5, &post))) | 2577 | if (!valid_status(timeline_get_by_md5(user, md5, &post))) |
| 2578 | continue; | 2578 | continue; |
| 2579 | 2579 | ||
| 2580 | if (!xs_match(xs_dict_get_def(post, "type", "-"), "Note|Question|Page|Article|Video")) | 2580 | if (!xs_match(xs_dict_get_def(post, "type", "-"), POSTLIKE_OBJECT_TYPE)) |
| 2581 | continue; | 2581 | continue; |
| 2582 | 2582 | ||
| 2583 | char *content = xs_dict_get(post, "content"); | 2583 | char *content = xs_dict_get(post, "content"); |