diff options
| author | 2025-09-14 00:30:00 +0200 | |
|---|---|---|
| committer | 2025-09-14 00:30:00 +0200 | |
| commit | 9eb2f672f9b1d26559c2f83596e8d80a352d7611 (patch) | |
| tree | 7d0b88a5fdbb771551766c140c49fb4877579417 | |
| parent | Don't use # anchors in the reply paging, as Misskey seems to dislike them. (diff) | |
| download | penes-snac2-9eb2f672f9b1d26559c2f83596e8d80a352d7611.tar.gz penes-snac2-9eb2f672f9b1d26559c2f83596e8d80a352d7611.tar.xz penes-snac2-9eb2f672f9b1d26559c2f83596e8d80a352d7611.zip | |
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, | |||
| 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) |