summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2023-12-14 19:58:44 +0100
committerGravatar default2023-12-14 19:58:44 +0100
commita0c6b93d2e426346565caf10337da8ffa4016816 (patch)
tree32b8d607465db9cec9341550d377fe2bbe10f3b4 /activitypub.c
parentCall process_input_message() from the shared-inbox input. (diff)
downloadsnac2-a0c6b93d2e426346565caf10337da8ffa4016816.tar.gz
snac2-a0c6b93d2e426346565caf10337da8ffa4016816.tar.xz
snac2-a0c6b93d2e426346565caf10337da8ffa4016816.zip
More log tweaks.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/activitypub.c b/activitypub.c
index d7f5b37..36cf724 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -190,7 +190,7 @@ int timeline_request(snac *snac, char **id, xs_str **wrk, int level)
190 if (xs_is_null(type)) 190 if (xs_is_null(type))
191 type = "(null)"; 191 type = "(null)";
192 192
193 srv_debug(1, xs_fmt("timeline_request type %s '%s'", nid, type)); 193 srv_debug(2, xs_fmt("timeline_request type %s '%s'", nid, type));
194 194
195 if (strcmp(type, "Create") == 0) { 195 if (strcmp(type, "Create") == 0) {
196 /* some software like lemmy nest Announce + Create + Note */ 196 /* some software like lemmy nest Announce + Create + Note */
@@ -1506,7 +1506,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
1506 if (strcmp(type, "Delete") == 0) { 1506 if (strcmp(type, "Delete") == 0) {
1507 /* if the actor is not here, do not even try */ 1507 /* if the actor is not here, do not even try */
1508 if (!object_here(actor)) { 1508 if (!object_here(actor)) {
1509 srv_debug(0, xs_fmt("dropped 'Delete' message from unknown actor '%s'", actor)); 1509 srv_debug(1, xs_fmt("dropped 'Delete' message from unknown actor '%s'", actor));
1510 return -1; 1510 return -1;
1511 } 1511 }
1512 } 1512 }
@@ -1709,7 +1709,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
1709 snac_log(snac, xs_fmt("ignored 'Announce' about muted actor %s", who)); 1709 snac_log(snac, xs_fmt("ignored 'Announce' about muted actor %s", who));
1710 } 1710 }
1711 else 1711 else
1712 snac_debug(snac, 1, xs_fmt("error requesting 'Announce' object %s", object)); 1712 snac_debug(snac, 2, xs_fmt("error requesting 'Announce' object %s", object));
1713 } 1713 }
1714 } 1714 }
1715 else 1715 else