Procházet zdrojové kódy

Ignore 'Reject' messages.

default před 2 roky
rodič
revize
ab93ca3f75
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      activitypub.c

+ 1 - 1
activitypub.c

@@ -1721,7 +1721,7 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
         type = "Note";
         type = "Note";
 
 
     /* reject uninteresting messages right now */
     /* reject uninteresting messages right now */
-    if (xs_match(type, "Add|View")) {
+    if (xs_match(type, "Add|View|Reject")) {
         srv_debug(0, xs_fmt("Ignored message of type '%s'", type));
         srv_debug(0, xs_fmt("Ignored message of type '%s'", type));
         return -1;
         return -1;
     }
     }