Преглед на файлове

Ignore 'Remove' messages.

default преди 2 години
родител
ревизия
34028cddb8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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|Reject|Read")) {
+    if (xs_match(type, "Add|View|Reject|Read|Remove")) {
         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;
     }
     }