mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Fix function
This commit is contained in:
parent
fd287387a0
commit
6a79bb12c3
1 changed files with 4 additions and 3 deletions
|
@ -439,10 +439,11 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|
||||||
|
|
||||||
def maybe_notify_mentioned_recipients(recipients, _), do: recipients
|
def maybe_notify_mentioned_recipients(recipients, _), do: recipients
|
||||||
|
|
||||||
def maybe_notify_subscribers(_, %Activity{
|
# Do not notify subscribers if author is making a reply
|
||||||
data: %{"object" => %Object{data: %{"inReplyTo" => _ap_id}}}
|
def maybe_notify_subscribers(recipients, %Activity{
|
||||||
|
object: %Object{data: %{"inReplyTo" => _ap_id}}
|
||||||
}) do
|
}) do
|
||||||
:nothing
|
recipients
|
||||||
end
|
end
|
||||||
|
|
||||||
def maybe_notify_subscribers(
|
def maybe_notify_subscribers(
|
||||||
|
|
Loading…
Reference in a new issue