snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit a09ea11f551969e2239cbf65293205da9cae37fe
parent 1ee9814931f2ffc1eac401732e605af5d10390f5
Author: default <nobody@localhost>
Date:   Tue, 30 Jul 2024 22:21:46 +0200

Archive bad Move messages.

Diffstat:
Mactivitypub.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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);