From a09ea11f551969e2239cbf65293205da9cae37fe Mon Sep 17 00:00:00 2001 From: default Date: Tue, 30 Jul 2024 22:21:46 +0200 Subject: [PATCH] Archive bad Move messages. --- activitypub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/activitypub.c b/activitypub.c index 4ce88c5..9a16521 100644 --- a/activitypub.c +++ b/activitypub.c @@ -2194,8 +2194,10 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) else snac_log(snac, xs_fmt("'Move' error: actor %s is not being followed", old_account)); } - else + else { snac_log(snac, xs_fmt("'Move' error: malformed message from %s", actor)); + srv_archive_error("move", "move", req, msg); + } } else { srv_archive_error("unsupported_type", "unsupported_type", req, msg);