From 5a9d1836d0e3bfacd79798ec3300a8c1adc15d91 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Thu, 19 Sep 2024 04:37:54 -0400 Subject: [PATCH] disable forwarding of Undo messages --- relay/processors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/relay/processors.py b/relay/processors.py index 57e9222..6c04c12 100644 --- a/relay/processors.py +++ b/relay/processors.py @@ -171,9 +171,9 @@ async def handle_follow(view: ActorView, conn: Connection) -> None: async def handle_undo(view: ActorView, conn: Connection) -> None: - # If the object is not a Follow, forward it if view.message.object['type'] != 'Follow': - await handle_forward(view, conn) + # forwarding deletes does not work, so don't bother + # await handle_forward(view, conn) return # prevent past unfollows from removing an instance