mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-14 03:27:59 +00:00
disable forwarding of Undo messages
This commit is contained in:
parent
0d24aea764
commit
5a9d1836d0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue