forked from AkkomaGang/akkoma
Remove handler for incoming undos with object references
This commit is contained in:
parent
1e43de0f86
commit
3b706ea493
1 changed files with 0 additions and 7 deletions
|
@ -259,13 +259,6 @@ def handle_incoming(
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def handle_incoming(%{"type" => "Undo", "object" => object_id} = data) do
|
|
||||||
object = Object.get_by_ap_id(object_id).data
|
|
||||||
data = Map.put(data, "object", object)
|
|
||||||
|
|
||||||
handle_incoming(data)
|
|
||||||
end
|
|
||||||
|
|
||||||
def handle_incoming(
|
def handle_incoming(
|
||||||
%{"type" => "Block", "object" => blocked, "actor" => blocker, "id" => id} = data
|
%{"type" => "Block", "object" => blocked, "actor" => blocker, "id" => id} = data
|
||||||
) do
|
) do
|
||||||
|
|
Loading…
Reference in a new issue