summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-23 08:44:26 +0200
committerdefault <nobody@localhost>2023-04-23 08:44:26 +0200
commit291f251cedc9277d6cacc0071c9d4c03cd0bf32b (patch)
treef137b2f874682eb8e8371a7d5eb07e1ad9d5a5dc /activitypub.c
parented4bf2217f6590812094a6fcbd4239088b7095e2 (diff)
Added mastoapi follow.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index b842118..73225ac 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -209,7 +209,7 @@ int send_to_inbox(snac *snac, const xs_str *inbox, const xs_dict *msg,
}
-d_char *get_actor_inbox(snac *snac, char *actor)
+d_char *get_actor_inbox(snac *snac, const char *actor)
/* gets an actor's inbox */
{
xs *data = NULL;
@@ -659,7 +659,7 @@ d_char *msg_delete(snac *snac, char *id)
}
-d_char *msg_follow(snac *snac, char *url_or_uid)
+xs_dict *msg_follow(snac *snac, const char *url_or_uid)
/* creates a 'Follow' message */
{
xs *actor_o = NULL;