aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/notification.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-29 18:43:27 +0300
committerrinpatch <rinpatch@sdf.org>2019-09-29 18:43:27 +0300
commite9d1aa75d5dc0859b692e891f6e65949208a5f0f (patch)
treede6c7854f6ca3daea830caec9d13672fe6c4ec15 /lib/pleroma/notification.ex
parent6d74a7528c31e6215d808627f1c393ab53d99782 (diff)
downloadpleroma-e9d1aa75d5dc0859b692e891f6e65949208a5f0f.tar.gz
Revert subscription refactoring.
As discussed in pleroma-meta#2 This reverts commit eb9aa7aa1095de150d036839c78c402019efb4b1, reversing changes made to c4fbb56984d8f86df948cfd9b0f7c081d688c365.
Diffstat (limited to 'lib/pleroma/notification.ex')
-rw-r--r--lib/pleroma/notification.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex
index d19924289..d94ae5971 100644
--- a/lib/pleroma/notification.ex
+++ b/lib/pleroma/notification.ex
@@ -230,6 +230,7 @@ defmodule Pleroma.Notification do
[]
|> Utils.maybe_notify_to_recipients(activity)
|> Utils.maybe_notify_mentioned_recipients(activity)
+ |> Utils.maybe_notify_subscribers(activity)
|> Enum.uniq()
User.get_users_from_set(recipients, local_only)