mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Tweaked log message.
This commit is contained in:
parent
34eb717344
commit
e75b76da7c
1 changed files with 1 additions and 1 deletions
|
@ -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 the message is from a muted actor, reject it right now */
|
||||||
if (!xs_is_null(v = xs_dict_get(msg, "actor")) && *v) {
|
if (!xs_is_null(v = xs_dict_get(msg, "actor")) && *v) {
|
||||||
if (is_muted(&snac, 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");
|
*body = xs_str_new("rejected");
|
||||||
*ctype = "text/plain";
|
*ctype = "text/plain";
|
||||||
|
|
Loading…
Reference in a new issue