mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
No more archiving of borked Likes.
This commit is contained in:
parent
cf2cfca624
commit
5cdfd64d61
1 changed files with 0 additions and 6 deletions
|
@ -1483,12 +1483,6 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
|
|||
if (xs_type(object) == XSTYPE_DICT)
|
||||
object = xs_dict_get(object, "id");
|
||||
|
||||
if (xs_type(object) != XSTYPE_STRING) {
|
||||
snac_log(snac, xs_fmt("malformed 'Like' from %s", actor));
|
||||
srv_archive_error("malformed_message", "Bad 'Like'", req, msg);
|
||||
return 1;
|
||||
}
|
||||
|
||||
timeline_admire(snac, object, actor, 1);
|
||||
snac_log(snac, xs_fmt("new 'Like' %s %s", actor, object));
|
||||
do_notify = 1;
|
||||
|
|
Loading…
Reference in a new issue