summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c
index 81bfa59..82bf028 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -591,11 +591,17 @@ void process_message(snac *snac, char *msg, char *req)
591 snac_log(snac, xs_fmt("New follower %s", actor)); 591 snac_log(snac, xs_fmt("New follower %s", actor));
592 } 592 }
593 else 593 else
594/*
595 if (strcmp(type, "Undo") == 0) { 594 if (strcmp(type, "Undo") == 0) {
595 if (strcmp(utype, "Follow") == 0) {
596 if (valid_status(follower_del(snac, actor)))
597 snac_log(snac, xs_fmt("no longer following us %s", actor));
598 else
599 snac_log(snac, xs_fmt("error deleting follower %s", actor));
600 }
601 else
602 snac_debug(snac, 1, xs_fmt("ignored 'Undo' for object type '%s'", utype));
596 } 603 }
597 else 604 else
598*/
599 if (strcmp(type, "Create") == 0) { 605 if (strcmp(type, "Create") == 0) {
600 if (strcmp(utype, "Note") == 0) { 606 if (strcmp(utype, "Note") == 0) {
601 if (is_muted(snac, actor)) 607 if (is_muted(snac, actor))