diff options
| author | 2024-06-18 05:40:10 +0200 | |
|---|---|---|
| committer | 2024-06-18 05:40:10 +0200 | |
| commit | 534cf2cdc1ef2baced71015583ff62d532d4dad3 (patch) | |
| tree | 5d1d84c976461a8eb4e4be54c3919fede7c6aba5 | |
| parent | Only send notes and poll to the collected inboxes. (diff) | |
| download | snac2-534cf2cdc1ef2baced71015583ff62d532d4dad3.tar.gz snac2-534cf2cdc1ef2baced71015583ff62d532d4dad3.tar.xz snac2-534cf2cdc1ef2baced71015583ff62d532d4dad3.zip | |
Also send Updates to collected inboxes.
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 4bfc4da..cfc5abc 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -2204,7 +2204,7 @@ void process_user_queue_item(snac *snac, xs_dict *q_item) | |||
| 2204 | } | 2204 | } |
| 2205 | 2205 | ||
| 2206 | /* if it's a public note or question, send to the collected inboxes */ | 2206 | /* if it's a public note or question, send to the collected inboxes */ |
| 2207 | if (xs_match(xs_dict_get_def(msg, "type", ""), "Create") && is_msg_public(msg)) { | 2207 | if (xs_match(xs_dict_get_def(msg, "type", ""), "Create|Update") && is_msg_public(msg)) { |
| 2208 | if (xs_type(xs_dict_get(srv_config, "disable_inbox_collection")) != XSTYPE_TRUE) { | 2208 | if (xs_type(xs_dict_get(srv_config, "disable_inbox_collection")) != XSTYPE_TRUE) { |
| 2209 | xs *shibx = inbox_list(); | 2209 | xs *shibx = inbox_list(); |
| 2210 | const xs_str *inbox; | 2210 | const xs_str *inbox; |