summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
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;