mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
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:
parent
4b6e1df907
commit
20f862a651
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue