aboutsummaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mastoapi.c b/mastoapi.c
index c88fd1b..df713a8 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -2508,9 +2508,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
/* reply something only for offset 0; otherwise,
apps like Tusky keep asking again and again */
if (xs_startswith(q, "https://")) {
- xs *md5 = xs_md5_hex(q, strlen(q));
-
- if (!timeline_here_by_md5(&snac1, md5)) {
+ if (!timeline_here(&snac1, q)) {
xs *object = NULL;
int status;