diff options
| author | 2024-08-16 18:43:24 +0200 | |
|---|---|---|
| committer | 2024-08-16 18:43:24 +0200 | |
| commit | 34028cddb8cb432f3202444833cebe6f87df3725 (patch) | |
| tree | d2d007c205a88fbd25c29fdf2d08519291b94dd2 /activitypub.c | |
| parent | Don't archive actor retry errors. (diff) | |
| download | snac2-34028cddb8cb432f3202444833cebe6f87df3725.tar.gz snac2-34028cddb8cb432f3202444833cebe6f87df3725.tar.xz snac2-34028cddb8cb432f3202444833cebe6f87df3725.zip | |
Ignore 'Remove' messages.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 66c5539..797dff0 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1721,7 +1721,7 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) | |||
| 1721 | type = "Note"; | 1721 | type = "Note"; |
| 1722 | 1722 | ||
| 1723 | /* reject uninteresting messages right now */ | 1723 | /* reject uninteresting messages right now */ |
| 1724 | if (xs_match(type, "Add|View|Reject|Read")) { | 1724 | if (xs_match(type, "Add|View|Reject|Read|Remove")) { |
| 1725 | srv_debug(0, xs_fmt("Ignored message of type '%s'", type)); | 1725 | srv_debug(0, xs_fmt("Ignored message of type '%s'", type)); |
| 1726 | return -1; | 1726 | return -1; |
| 1727 | } | 1727 | } |