diff options
author | Roger Braun <rbraun@Bobble.local> | 2017-11-07 16:45:27 +0100 |
---|---|---|
committer | Roger Braun <rbraun@Bobble.local> | 2017-11-07 16:45:27 +0100 |
commit | 722c4614ad30d55e2c2c9a7e5f99d4c39a3ac95d (patch) | |
tree | 6bf1dba6750e3c56c834923a1f52e2fcf5e68bef /lib | |
parent | 7da978f3f54a8981c082625a8ad2fea48c918675 (diff) | |
download | pleroma-722c4614ad30d55e2c2c9a7e5f99d4c39a3ac95d.tar.gz |
Allow self-rt.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/common_api/common_api.ex | 1 |
1 files changed, 0 insertions, 1 deletions
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 |