summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 5c4e27f..3d0a939 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1313,7 +1313,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
1313 /* skip the 'fake' part of the id */ 1313 /* skip the 'fake' part of the id */
1314 id = MID_TO_MD5(id); 1314 id = MID_TO_MD5(id);
1315 1315
1316 if (valid_status(timeline_get_by_md5(&snac1, id, &msg))) { 1316 if (valid_status(object_get_by_md5(id, &msg))) {
1317 if (op == NULL) { 1317 if (op == NULL) {
1318 if (!is_muted(&snac1, xs_dict_get(msg, "attributedTo"))) { 1318 if (!is_muted(&snac1, xs_dict_get(msg, "attributedTo"))) {
1319 /* return the status itself */ 1319 /* return the status itself */