disable forwarding of Undo messages

This commit is contained in:
Izalia Mae 2024-09-19 04:37:54 -04:00
parent 0d24aea764
commit 5a9d1836d0

View file

@ -171,9 +171,9 @@ async def handle_follow(view: ActorView, conn: Connection) -> None:
async def handle_undo(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': 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 return
# prevent past unfollows from removing an instance # prevent past unfollows from removing an instance