Explorar o código

Archive bad Move messages.

default %!s(int64=2) %!d(string=hai) anos
pai
achega
a09ea11f55
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      activitypub.c

+ 3 - 1
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);