diff options
author | default <nobody@localhost> | 2023-06-11 20:12:01 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-06-11 20:12:01 +0200 |
commit | 5cdfd64d610f1029c5d018e25cb098e9f53c7333 (patch) | |
tree | cf88eb5da3103df2c09fedc46f2056fd4df2b583 | |
parent | cf2cfca62401da0b5c0604d4d4bcbe8c8356d6f2 (diff) |
No more archiving of borked Likes.
-rw-r--r-- | activitypub.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activitypub.c b/activitypub.c index b253b22..3d28451 100644 --- a/activitypub.c +++ b/activitypub.c @@ -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; |