projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93de603
)
Federate likes.
author
Roger Braun
<roger@rogerbraun.net>
Tue, 2 May 2017 14:45:54 +0000
(16:45 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Tue, 2 May 2017 14:45:54 +0000
(16:45 +0200)
lib/pleroma/web/activity_pub/activity_pub.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/activity_pub.ex
b/lib/pleroma/web/activity_pub/activity_pub.ex
index e9de3573e59597579e546993e75001b9887d7de2..12d6912df06808c6e5078c9768706152b9390e42 100644
(file)
--- a/
lib/pleroma/web/activity_pub/activity_pub.ex
+++ b/
lib/pleroma/web/activity_pub/activity_pub.ex
@@
-72,6
+72,10
@@
defmodule Pleroma.Web.ActivityPub.ActivityPub do
update_object_in_activities(object)
+ if user.local do
+ Pleroma.Web.Federator.enqueue(:publish, activity)
+ end
+
{:ok, activity, object}
end
end