commit e75b76d
default
·
2023-05-24 11:49:34 +0000 UTC
parent 34eb717
Tweaked log message.
1 files changed,
+1,
-1
+1,
-1
1@@ -1747,7 +1747,7 @@ int activitypub_post_handler(const xs_dict *req, const char *q_path,
2 /* if the message is from a muted actor, reject it right now */
3 if (!xs_is_null(v = xs_dict_get(msg, "actor")) && *v) {
4 if (is_muted(&snac, v)) {
5- srv_log(xs_fmt("rejected message from MUTEd actor %s", v));
6+ snac_log(&snac, xs_fmt("rejected message from MUTEd actor %s", v));
7
8 *body = xs_str_new("rejected");
9 *ctype = "text/plain";