Sfoglia il codice sorgente

Also send Updates to collected inboxes.

default 2 anni fa
parent
commit
534cf2cdc1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      activitypub.c

+ 1 - 1
activitypub.c

@@ -2204,7 +2204,7 @@ void process_user_queue_item(snac *snac, xs_dict *q_item)
         }
         }
 
 
         /* if it's a public note or question, send to the collected inboxes */
         /* if it's a public note or question, send to the collected inboxes */
-        if (xs_match(xs_dict_get_def(msg, "type", ""), "Create") && is_msg_public(msg)) {
+        if (xs_match(xs_dict_get_def(msg, "type", ""), "Create|Update") && is_msg_public(msg)) {
             if (xs_type(xs_dict_get(srv_config, "disable_inbox_collection")) != XSTYPE_TRUE) {
             if (xs_type(xs_dict_get(srv_config, "disable_inbox_collection")) != XSTYPE_TRUE) {
                 xs *shibx = inbox_list();
                 xs *shibx = inbox_list();
                 const xs_str *inbox;
                 const xs_str *inbox;