projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd28738
)
Fix function
author
Mark Felder
<feld@FreeBSD.org>
Tue, 23 Jul 2019 18:53:05 +0000
(13:53 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Tue, 23 Jul 2019 18:53:05 +0000
(13:53 -0500)
lib/pleroma/web/common_api/utils.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/common_api/utils.ex
b/lib/pleroma/web/common_api/utils.ex
index 6f0f56d96a7c1587196e27c5fafb400918f4ae34..94462c3dd40bd0c6f4aff3b000877a41933fef25 100644
(file)
--- a/
lib/pleroma/web/common_api/utils.ex
+++ b/
lib/pleroma/web/common_api/utils.ex
@@
-439,10
+439,11
@@
defmodule Pleroma.Web.CommonAPI.Utils do
def maybe_notify_mentioned_recipients(recipients, _), do: recipients
- def maybe_notify_subscribers(_, %Activity{
- data: %{"object" => %Object{data: %{"inReplyTo" => _ap_id}}}
+ # Do not notify subscribers if author is making a reply
+ def maybe_notify_subscribers(recipients, %Activity{
+ object: %Object{data: %{"inReplyTo" => _ap_id}}
}) do
- :nothing
+ recipients
end
def maybe_notify_subscribers(