summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/activitypub.c b/activitypub.c
index dc0afcd..66ca900 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -942,11 +942,10 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
942 utype = "(null)"; 942 utype = "(null)";
943 943
944 /* reject messages that are not for this user */ 944 /* reject messages that are not for this user */
945 int d = is_msg_for_me(snac, msg); 945 if (!is_msg_for_me(snac, msg)) {
946 snac_debug(snac, 0, xs_fmt("---> %s %d", xs_dict_get(msg, "id"), d));
947
948 if (!d) {
949 snac_debug(snac, 0, xs_fmt("message from %s not for us", actor)); 946 snac_debug(snac, 0, xs_fmt("message from %s not for us", actor));
947
948 return 1;
950 } 949 }
951 950
952 /* bring the actor */ 951 /* bring the actor */