diff options
| author | grunfink <grunfink@comam.es> | 2025-09-14 00:30:00 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-09-14 00:30:00 +0200 |
| commit | 9eb2f672f9b1d26559c2f83596e8d80a352d7611 (patch) | |
| tree | 7d0b88a5fdbb771551766c140c49fb4877579417 | |
| parent | 428ae12639e044df129cd5cb96e394c311e27d38 (diff) | |
mastoapi: Fixed incorrect messages in status query.
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |