From 106791ff6ba11c256b42a69c1ff052da3e8413fe Mon Sep 17 00:00:00 2001 From: default Date: Sun, 6 Aug 2023 19:04:30 +0200 Subject: Added command-line interface for limit/unlimit users. --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activitypub.c') 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 */ -- cgit v1.2.3