diff options
| author | 2024-08-16 18:31:39 +0200 | |
|---|---|---|
| committer | 2024-08-16 18:31:39 +0200 | |
| commit | ab93ca3f757962095e42a7254aa3fc8268f51082 (patch) | |
| tree | c716cd25880e0cb39dd1b4dc3c20a0ce332d1d5b /activitypub.c | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | snac2-ab93ca3f757962095e42a7254aa3fc8268f51082.tar.gz snac2-ab93ca3f757962095e42a7254aa3fc8268f51082.tar.xz snac2-ab93ca3f757962095e42a7254aa3fc8268f51082.zip | |
Ignore 'Reject' 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 65e555d..98256ae 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")) { | 1724 | if (xs_match(type, "Add|View|Reject")) { |
| 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 | } |