summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2023-04-11 21:07:47 +0200
committerGravatar default2023-04-11 21:07:47 +0200
commitc0a48f1f4e690cfe63b57e287fe917b5e27bfb87 (patch)
tree54fe55a2ef86851f9ebe007f34b2811179439241 /httpd.c
parentAdded some comments. (diff)
downloadsnac2-c0a48f1f4e690cfe63b57e287fe917b5e27bfb87.tar.gz
snac2-c0a48f1f4e690cfe63b57e287fe917b5e27bfb87.tar.xz
snac2-c0a48f1f4e690cfe63b57e287fe917b5e27bfb87.zip
Added support for likes and boosts.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/httpd.c b/httpd.c
index d5de87c..7f6a428 100644
--- a/httpd.c
+++ b/httpd.c
@@ -188,15 +188,15 @@ void httpd_connection(FILE *f)
188 else 188 else
189 if (strcmp(method, "POST") == 0) { 189 if (strcmp(method, "POST") == 0) {
190 if (status == 0) 190 if (status == 0)
191 status = activitypub_post_handler(req, q_path, 191 status = oauth_post_handler(req, q_path,
192 payload, p_size, &body, &b_size, &ctype); 192 payload, p_size, &body, &b_size, &ctype);
193 193
194 if (status == 0) 194 if (status == 0)
195 status = oauth_post_handler(req, q_path, 195 status = mastoapi_post_handler(req, q_path,
196 payload, p_size, &body, &b_size, &ctype); 196 payload, p_size, &body, &b_size, &ctype);
197 197
198 if (status == 0) 198 if (status == 0)
199 status = mastoapi_post_handler(req, q_path, 199 status = activitypub_post_handler(req, q_path,
200 payload, p_size, &body, &b_size, &ctype); 200 payload, p_size, &body, &b_size, &ctype);
201 201
202 if (status == 0) 202 if (status == 0)