X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fnotification.ex;h=2ef1a80c5746a27013282f63cc91f39eb3724c2b;hb=0883a706dc376fdfb7de9df1366803e87c8e7c98;hp=9ee9606becb9fd9bf779d81b6b72a01c5b4595ac;hpb=6efd3730c31c9121894c825b1bef87796a67d000;p=akkoma 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