Deletes do not generate notifications of any kind, so skip trying

This commit is contained in:
Mark Felder 2022-11-13 12:25:52 -05:00
parent 3d1828f43b
commit 47b9847edd
2 changed files with 1 additions and 1 deletions

View File

@ -55,6 +55,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fixed slow timelines when there are a lot of deactivated users
- Fixed account deletion API
- Fixed lowercase HTTP HEAD method in the Media Proxy Preview code
- Removed useless notification call on Delete activities
### Removed
- Quack, the logging backend that pushes to Slack channels

View File

@ -324,7 +324,6 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
end
if result == :ok do
Notification.create_notifications(object)
{:ok, object, meta}
else
{:error, result}