diff options
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -4174,7 +4174,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, | |||
| 4174 | xs *id = xs_fmt("%s/%s", snac.actor, p_path); | 4174 | xs *id = xs_fmt("%s/%s", snac.actor, p_path); |
| 4175 | xs *msg = NULL; | 4175 | xs *msg = NULL; |
| 4176 | 4176 | ||
| 4177 | if (valid_status(object_get(id, &msg))) { | 4177 | if (valid_status(object_get(id, &msg)) && is_msg_public(msg)) { |
| 4178 | xs *md5 = xs_md5_hex(id, strlen(id)); | 4178 | xs *md5 = xs_md5_hex(id, strlen(id)); |
| 4179 | xs *list = xs_list_new(); | 4179 | xs *list = xs_list_new(); |
| 4180 | 4180 | ||