commit e75b76da7c8f8e080e084cfbd3f98058c5a43a98
parent 34eb717344909984d671a6850985071221f715c7
Author: default <nobody@localhost>
Date: Wed, 24 May 2023 13:49:34 +0200
Tweaked log message.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/activitypub.c b/activitypub.c
@@ -1747,7 +1747,7 @@ int activitypub_post_handler(const xs_dict *req, const char *q_path,
/* if the message is from a muted actor, reject it right now */
if (!xs_is_null(v = xs_dict_get(msg, "actor")) && *v) {
if (is_muted(&snac, v)) {
- srv_log(xs_fmt("rejected message from MUTEd actor %s", v));
+ snac_log(&snac, xs_fmt("rejected message from MUTEd actor %s", v));
*body = xs_str_new("rejected");
*ctype = "text/plain";