Răsfoiți Sursa

Ignore 'Remove' messages.

default 2 ani în urmă
părinte
comite
34028cddb8
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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";
 
     /* reject uninteresting messages right now */
-    if (xs_match(type, "Add|View|Reject|Read")) {
+    if (xs_match(type, "Add|View|Reject|Read|Remove")) {
         srv_debug(0, xs_fmt("Ignored message of type '%s'", type));
         return -1;
     }