summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2024-08-16 18:35:08 +0200
committerGravatar default2024-08-16 18:35:08 +0200
commite89d21b2474d27772f2f0a271b81fb361abf6df7 (patch)
treed1cec724193518b7fa59911b97c2bc085b9b3bb3 /activitypub.c
parentIgnore 'Reject' messages. (diff)
downloadsnac2-e89d21b2474d27772f2f0a271b81fb361abf6df7.tar.gz
snac2-e89d21b2474d27772f2f0a271b81fb361abf6df7.tar.xz
snac2-e89d21b2474d27772f2f0a271b81fb361abf6df7.zip
Ignore 'Read' messages.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 98256ae..68ad717 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")) { 1724 if (xs_match(type, "Add|View|Reject|Read")) {
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 }