From: Roger Braun Date: Tue, 7 Nov 2017 15:45:27 +0000 (+0100) Subject: Allow self-rt. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=722c4614ad30d55e2c2c9a7e5f99d4c39a3ac95d;p=akkoma Allow self-rt. --- 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