From 722c4614ad30d55e2c2c9a7e5f99d4c39a3ac95d Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Tue, 7 Nov 2017 16:45:27 +0100 Subject: [PATCH] Allow self-rt. --- lib/pleroma/web/common_api/common_api.ex | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index 32a8a08c7..9ae7b095a 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -16,7 +16,6 @@ defmodule Pleroma.Web.CommonAPI do def repeat(id_or_ap_id, user) do with %Activity{} = activity <- get_by_id_or_ap_id(id_or_ap_id), - false <- activity.data["actor"] == user.ap_id, object <- Object.get_by_ap_id(activity.data["object"]["id"]) do ActivityPub.announce(user, object) else