Use "new" instead of "New" for log messages

The messages for new "Like" and new "Delete" started with an uppercase
n instead of a lowercase n like all the other log messages.
This commit is contained in:
Alex Schroeder 2022-12-04 10:35:01 +01:00
parent 4b6e1df907
commit 20f862a651

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));
} }