summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 568426b..e77d15f 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1767,7 +1767,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
1767 if (valid_status(timeline_get_by_md5(&snac2, v, &msg))) { 1767 if (valid_status(timeline_get_by_md5(&snac2, v, &msg))) {
1768 /* add only posts by the author */ 1768 /* add only posts by the author */
1769 if (strcmp(xs_dict_get(msg, "type"), "Note") == 0 && 1769 if (strcmp(xs_dict_get(msg, "type"), "Note") == 0 &&
1770 xs_startswith(xs_dict_get(msg, "id"), snac2.actor)) { 1770 xs_startswith(xs_dict_get(msg, "id"), snac2.actor) && is_msg_public(msg)) {
1771 xs *st = mastoapi_status(&snac2, msg); 1771 xs *st = mastoapi_status(&snac2, msg);
1772 1772
1773 if (st) 1773 if (st)