diff options
| author | 2024-04-30 19:41:08 +0200 | |
|---|---|---|
| committer | 2024-04-30 19:41:08 +0200 | |
| commit | 6a77c634ad9938744bae6d718b209557fa37018c (patch) | |
| tree | f02676a9d4a11b034d01be6ceb545e65a8e17946 /activitypub.c | |
| parent | Added more internal integrity checks. (diff) | |
| download | snac2-6a77c634ad9938744bae6d718b209557fa37018c.tar.gz snac2-6a77c634ad9938744bae6d718b209557fa37018c.tar.xz snac2-6a77c634ad9938744bae6d718b209557fa37018c.zip | |
Also add announces to lists.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index 94c0d30..2691a6a 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -2099,6 +2099,9 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) | |||
| 2099 | snac_log(snac, xs_fmt("repeated 'Announce' from %s to %s", | 2099 | snac_log(snac, xs_fmt("repeated 'Announce' from %s to %s", |
| 2100 | actor, object)); | 2100 | actor, object)); |
| 2101 | 2101 | ||
| 2102 | /* distribute the post with the actor as 'proxy' */ | ||
| 2103 | list_distribute(snac, actor, a_msg); | ||
| 2104 | |||
| 2102 | do_notify = 1; | 2105 | do_notify = 1; |
| 2103 | } | 2106 | } |
| 2104 | else | 2107 | else |