projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7da978f
)
Allow self-rt.
author
Roger Braun
<rbraun@Bobble.local>
Tue, 7 Nov 2017 15:45:27 +0000
(16:45 +0100)
committer
Roger Braun
<rbraun@Bobble.local>
Tue, 7 Nov 2017 15:45:27 +0000
(16:45 +0100)
lib/pleroma/web/common_api/common_api.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/common_api/common_api.ex
b/lib/pleroma/web/common_api/common_api.ex
index 32a8a08c71a3df50f3eee0af35bb94fa4975523f..9ae7b095a4ed08cbcc23dc2c92c49d0250fc5a50 100644
(file)
--- 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