aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/notification.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-07-06 12:15:59 +0200
committerlain <lain@soykaf.club>2020-07-06 12:15:59 +0200
commit1963e143c5feace9eb9a3be29b0eeba2ad88751a (patch)
tree9a7ae160dd452db000e33af62f61057667c5953f /lib/pleroma/notification.ex
parent67d92ac7b7b977debac8f8e580db1f0e1ef3ed52 (diff)
parent69f0b286f7b3e0518ac7ae54dfb06539dc179698 (diff)
downloadpleroma-1963e143c5feace9eb9a3be29b0eeba2ad88751a.tar.gz
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remove-twitter-api
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 9ee9606be..2ef1a80c5 100644
--- a/lib/pleroma/notification.ex
+++ b/lib/pleroma/notification.ex
@@ -367,6 +367,7 @@ defmodule Pleroma.Notification do
do_send = do_send && user in enabled_receivers
create_notification(activity, user, do_send)
end)
+ |> Enum.reject(&is_nil/1)
{:ok, notifications}
end