summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index dc9ec95..194511e 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1570,7 +1570,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
snac_log(snac, xs_fmt("dropped 'Announce' from limited actor %s", actor));
else
if (valid_status(object_get(object, &a_msg))) {
- char *who = xs_dict_get(a_msg, "attributedTo");
+ const char *who = xs_dict_get(a_msg, "attributedTo");
if (who && !is_muted(snac, who)) {
/* bring the actor */