Merge pull request 'Use "new" instead of "New" for log messages' (#11) from kensanata/snac2:lower-case-log-messages into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/11
This commit is contained in:
grunfink 2022-12-04 09:52:53 +00:00
commit 881d05e06c

View File

@ -825,7 +825,7 @@ int process_message(snac *snac, char *msg, char *req)
follower_add(snac, actor); follower_add(snac, actor);
snac_log(snac, xs_fmt("New follower %s", actor)); snac_log(snac, xs_fmt("new follower %s", actor));
do_notify = 1; do_notify = 1;
} }
else else
@ -929,7 +929,7 @@ int process_message(snac *snac, char *msg, char *req)
object = xs_dict_get(object, "id"); object = xs_dict_get(object, "id");
if (valid_status(timeline_del(snac, object))) if (valid_status(timeline_del(snac, object)))
snac_log(snac, xs_fmt("New 'Delete' %s %s", actor, object)); snac_log(snac, xs_fmt("new 'Delete' %s %s", actor, object));
else else
snac_debug(snac, 1, xs_fmt("ignored 'Delete' for unknown object %s", object)); snac_debug(snac, 1, xs_fmt("ignored 'Delete' for unknown object %s", object));
} }