1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-12-25 04:53:06 +00:00

Fix function

This commit is contained in:
Mark Felder 2019-07-23 13:53:05 -05:00
parent fd287387a0
commit 6a79bb12c3

View file

@ -439,10 +439,11 @@ def maybe_notify_mentioned_recipients(
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(