From 9eb2f672f9b1d26559c2f83596e8d80a352d7611 Mon Sep 17 00:00:00 2001 From: grunfink Date: Sun, 14 Sep 2025 00:30:00 +0200 Subject: mastoapi: Fixed incorrect messages in status query. --- mastoapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, if (valid_status(timeline_get_by_md5(&snac2, v, &msg))) { /* add only posts by the author */ if (strcmp(xs_dict_get(msg, "type"), "Note") == 0 && - xs_startswith(xs_dict_get(msg, "id"), snac2.actor)) { + xs_startswith(xs_dict_get(msg, "id"), snac2.actor) && is_msg_public(msg)) { xs *st = mastoapi_status(&snac2, msg); if (st) -- cgit v1.2.3